YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
void do_json_ar(int n, int type, constchar *value)
{ enum json_types value_type; constchar *value_start; int value_len;
value_type= json_get_array_item(json_ar, json_ar + strlen(json_ar),
n, &value_start, &value_len); if (type)
ok(value_type == type && value_len == (int)strlen(value) && !memcmp(value_start, value, value_len), "%i: type=%u, value(%d)=\"%.*s\"", n, value_type, value_len, value_len, value_start); else
ok(value_type == type && value_len == (int)strlen(value), "%i: type=%u keys=%u end=\"%s\"", n, value_type, value_len, value_start);
}
void do_json_locate(json_engine_t *je, constchar *json, constchar *key, int from, int to, int cp)
{ constchar *key_start, *key_end; int res, comma_pos;
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.