/***********************************************************************/ /* Structure BVAL. Binary representation of a JVALUE. */ /***********************************************************************/ typedefstruct _jvalue { union {
OFFSET To_Val; // Offset to a value int N; // An integer value float F; // A float value bool B; // A boolean value True or false (0)
}; short Nd; // Number of decimals short Type; // The value type
OFFSET Next; // Offset to the next value in array
} BVAL, *PBVAL; // end of struct BVALUE
/***********************************************************************/ /* Structure BPAIR. The pairs of a json Object. */ /***********************************************************************/ typedefstruct _jpair {
OFFSET Key; // Offset to this pair key name
BVAL Vlp; // The value of the pair
} BPAIR, *PBPR; // end of struct BPAIR
// Members
PGLOBAL G;
PBVAL Bvp; void *Base; boolThrow;
protected: // Default constructor not to be used
BJSON(void) = default;
}; // end of class BJSON
/***********************************************************************/ /* Class JDOC. The class for parsing and serializing json documents. */ /***********************************************************************/ class BDOC : public BJSON { public:
BDOC(PGLOBAL G);
// Members used when parsing and serializing
JOUT* jp; // Used with serialize char* s; // The Json string to parse
size_t len; // The Json string length int pretty; // The pretty style of the file to parse bool pty[3]; // Used to guess what pretty is bool comma; // True if Pretty = 1
// Default constructor not to be used
BDOC(void) = default;
}; // end of class BDOC
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.