PhoenixFileParser  1.5.1
Set of tools to ease file parsing
Loading...
Searching...
No Matches
parser_json.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7#ifndef __PARSER_JSON_H__
8#define __PARSER_JSON_H__
9
10#include "ConfigNode.h"
11
12
13bool parser_json(ConfigNode & main, const PPath & fileName);
14bool parser_jsonString(ConfigNode & main, const PString & fileContent);
15
16PString toJsonString(const ConfigNode & main, const PString & baseIndentation, const PString & baseNewLine);
17
18#endif
Configuration of values.
Definition ConfigNode.h:18
bool parser_json(ConfigNode &main, const PPath &fileName)
Load a JSON file.
bool parser_jsonString(ConfigNode &main, const PString &fileContent)
Load a JSON string.
PString toJsonString(const ConfigNode &main, const PString &baseIndentation, const PString &baseNewLine)
Convert the current ConfigNode to a JSON string.