Core: Value has now can directly access ValueArray, ValueMap elements, JSON support

git-svn-id: svn://ultimatepp.org/upp/trunk@4127 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-11-04 18:19:15 +00:00
commit d3ad4971a3
6 changed files with 187 additions and 16 deletions

5
uppsrc/Core/JSON.h Normal file
View file

@ -0,0 +1,5 @@
Value ParseJSON(CParser& p);
Value ParseJSON(const char *s);
String AsJSON(const Value& v, const String& indent, bool pretty = false);
String AsJSON(const Value& v, bool pretty = false);