![]() |
Consolix
|
Utilities for working with JSON strings, including removing comments. More...
#include <algorithm>#include <cstddef>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | consolix |
| < Utility modules and helpers. | |
Macros | |
| #define | _CONSOLIX_JSON_UTILS_HPP_INCLUDED |
Functions | |
| bool | consolix::check_escaped (const std::string &json_string, std::size_t quote_position) |
| Checks if a character in a JSON string is escaped. | |
| std::string | consolix::strip_json_comments (const std::string &json_string, bool with_whitespace=false, bool preserve_newlines=true) |
| Removes comments from a JSON string. | |
Utilities for working with JSON strings, including removing comments.
Definition in file json_utils.hpp.
| #define _CONSOLIX_JSON_UTILS_HPP_INCLUDED |
Definition at line 3 of file json_utils.hpp.