Json: Move pp_markup::quoted_json_pointer to its own header
Relocates pp_markup::quoted_json_pointer to its own header file for better code organization.
This commit improves code organization by moving pp_markup::quoted_json_pointer to its own header file, pretty-print-markup-json.h. This change promotes modularity and separation of concerns within the JSON handling component, with minimal functional impact.
In Details
The commit moves pp_markup::quoted_json_pointer from json-diagnostic.cc to the new header file pretty-print-markup-json.h. This is a refactoring change to improve code organization.
For Context
This commit focuses on improving the structure of GCC's JSON handling code. It involves moving a specific element, pp_markup::quoted_json_pointer, into its own dedicated header file. This type of change makes the codebase more modular and easier to maintain, as related code is grouped together.