Enumerations |
| enum | TJsonValType {
jvtUndef,
jvtNull,
jvtBool,
jvtNum,
jvtStr,
jvtArr,
jvtObj
} |
Functions |
| | UndefCopyAssign (TJsonVal) |
| | TJsonVal () |
| static PJsonVal | New () |
| | TJsonVal (TSIn &SIn) |
| static PJsonVal | Load (TSIn &SIn) |
| void | Save (TSOut &SOut) const |
| void | PutNull () |
| void | PutBool (const bool &_Bool) |
| void | PutNum (const double &_Num) |
| void | PutStr (const TStr &_Str) |
| void | PutArr () |
| void | AddToArr (const PJsonVal &Val) |
| void | PutObj () |
| void | AddToObj (const TStr &KeyNm, const PJsonVal &Val) |
| void | AddToObj (const TStr &KeyNm, const int &Val) |
| void | AddToObj (const TStr &KeyNm, const double &Val) |
| void | AddToObj (const TStr &KeyNm, const TStr &Val) |
| void | AddToObj (const TStr &KeyNm, const char *Val) |
| void | AddToObj (const TStr &KeyNm, const bool &Val) |
| void | AddToObj (const TStr &KeyNm, const TJsonValV &ValV) |
| static PJsonVal | NewNull () |
| static PJsonVal | NewBool (const bool &Bool) |
| static PJsonVal | NewNum (const double &Num) |
| static PJsonVal | NewStr (const TStr &Str) |
| static PJsonVal | NewArr () |
| static PJsonVal | NewArr (const TJsonValV &ValV) |
| static PJsonVal | NewArr (const TStrV &StrV) |
| static PJsonVal | NewObj () |
| static PJsonVal | NewObj (const TStr &KeyNm, const PJsonVal &ObjVal) |
| static PJsonVal | NewObj (const TStr &KeyNm, const int &ObjVal) |
| static PJsonVal | NewObj (const TStr &KeyNm, const double &ObjVal) |
| static PJsonVal | NewObj (const TStr &KeyNm, const TStr &ObjVal) |
| static PJsonVal | NewObj (const TStr &KeyNm, const bool &ObjVal) |
| TJsonValType | GetJsonValType () const |
| bool | IsNull () const |
| bool | IsBool () const |
| bool | IsNum () const |
| bool | IsStr () const |
| bool | IsArr () const |
| bool | IsObj () const |
| bool | GetBool () const |
| double | GetNum () const |
| TStr | GetStr () const |
| int | GetArrVals () const |
| PJsonVal | GetArrVal (const int &ValN) const |
| int | GetObjKeys () const |
| void | GetObjKeyVal (const int &KeyValN, TStr &Key, PJsonVal &Val) const |
| bool | IsObjKey (const TStr &Key) const |
| bool | IsObjKey (const char *Key) const |
| PJsonVal | GetObjKey (const TStr &Key) const |
| PJsonVal | GetObjKey (const char *Key) const |
| bool | GetObjBool (const TStr &Key) const |
| bool | GetObjBool (const char *Key) const |
| double | GetObjNum (const TStr &Key) const |
| double | GetObjNum (const char *Key) const |
| TStr | GetObjStr (const TStr &Key) const |
| TStr | GetObjStr (const char *Key) const |
| bool | GetObjBool (const TStr &Key, const bool &DefBool) const |
| bool | GetObjBool (const char *Key, const bool &DefBool) const |
| double | GetObjNum (const TStr &Key, const double &DefNum) const |
| double | GetObjNum (const char *Key, const double &DefNum) const |
| TStr | GetObjStr (const TStr &Key, const TStr &DefStr) const |
| TStr | GetObjStr (const char *Key, const TStr &DefStr) const |
| static PJsonVal | GetValFromLx (TILx &Lx) |
| static PJsonVal | GetValFromStr (const TStr &JsonStr) |
| static void | AddEscapeChAFromStr (const TStr &Str, TChA &ChA) |
| static TStr | AddEscapeStrFromStr (const TStr &Str) |
| static void | AddQChAFromStr (const TStr &Str, TChA &ChA) |
| static void | GetChAFromVal (const PJsonVal &Val, TChA &ChA) |
| static TStr | GetStrFromVal (const PJsonVal &Val) |
Variables |
ClassTPV(TJsonVal, PJsonVal,
TJsonValV) private TBool | Bool |
| TFlt | Num |
| TStr | Str |
| TJsonValV | ValV |
| THash< TStr, PJsonVal > | KeyValH |