Lines Matching +full:json +full:- +full:schema
9 \f[B]ucl_parser_set_filevars\f[] \- universal configuration library
13 UCL library (libucl, \-lucl)
35 \f[C]JSON\f[] \- valid json format (can possibly lose some original
38 \f[C]Config\f[] \- human\-readable configuration format (lossless)
40 \f[C]YAML\f[] \- embedded yaml format (has the same limitations as
41 \f[C]json\f[] output)
60 json\-schema compatible object \f[C]schema\f[].
61 Both input and schema must be UCL objects to perform validation.
79 \f[C]UCL_PARSER_KEY_LOWERCASE\f[] \- lowercase keys parsed
81 \f[C]UCL_PARSER_ZEROCOPY\f[] \- try to use zero\-copy mode when reading
82 files (in zero\-copy mode text chunk being parsed without copying
85 \f[C]UCL_PARSER_NO_TIME\f[] \- treat time values as strings without
164 zero\-terminated and the actual length is calculated up to \f[C]\\0\f[]
250 \f[C]$FILENAME\f[] \- a filename of \f[C]ucl\f[] input
252 \f[C]$CURDIR\f[] \- a current directory of the input
258 \f[C]$FILENAME\f[] \- "../something.conf"
260 \f[C]$CURDIR\f[] \- ".."
267 \f[C]$FILENAME\f[] \- "/etc/something.conf"
269 \f[C]$CURDIR\f[] \- "/etc"
287 \ \ \ \ r\ +=\ fread\ (inbuf\ +\ r,\ 1,\ sizeof\ (inbuf)\ \-\ r,\ in);
313 configuration (\f[C]UCL_EMIT_CONFIG\f[]) \- nginx like human readable
317 compact json: \f[C]UCL_EMIT_JSON_COMPACT\f[] \- single line valid json
320 formatted json: \f[C]UCL_EMIT_JSON\f[] \- pretty formatted JSON with
323 compact yaml: \f[C]UCL_EMIT_YAML\f[] \- compact YAML output
326 allowing efficient and zero\-copy output of libucl objects.
348 \f[C]ucl_emitter_append_character\f[] \- a function that is called to
351 \f[C]ucl_emitter_append_len\f[] \- used to append a string of length
354 \f[C]ucl_emitter_append_int\f[] \- this function applies to integer
357 \f[C]ucl_emitter_append_double\f[] \- this function is intended to
404 converts any UCL object (including compound types \- arrays and objects)
407 emitting to a compact json format actually.
411 \f[C]ucl_object_toint\f[] \- returns \f[C]int64_t\f[] of UCL object
413 \f[C]ucl_object_todouble\f[] \- returns \f[C]double\f[] of UCL object
415 \f[C]ucl_object_toboolean\f[] \- returns \f[C]bool\f[] of UCL object
417 \f[C]ucl_object_tostring\f[] \- returns \f[C]const\ char\ *\f[] of UCL
420 \f[C]ucl_object_tolstring\f[] \- returns \f[C]const\ char\ *\f[] and
424 \f[C]ucl_object_tostring_forced\f[] \- returns string representation of
453 Create an object of a specified type: \- \f[C]UCL_OBJECT\f[] \- UCL
454 object \- key/value pairs \- \f[C]UCL_ARRAY\f[] \- UCL array \-
455 \f[C]UCL_INT\f[] \- integer number \- \f[C]UCL_FLOAT\f[] \- floating
456 point number \- \f[C]UCL_STRING\f[] \- NULL terminated string \-
457 \f[C]UCL_BOOLEAN\f[] \- boolean value \- \f[C]UCL_TIME\f[] \- time value
458 (floating point number of seconds) \- \f[C]UCL_USERDATA\f[] \- opaque
459 userdata pointer (may be used in macros) \- \f[C]UCL_NULL\f[] \- null
466 called with the specific C type: \- \f[C]ucl_object_fromint\f[] \-
467 converts \f[C]int64_t\f[] to UCL object \-
468 \f[C]ucl_object_fromdouble\f[] \- converts \f[C]double\f[] to UCL object
469 \- \f[C]ucl_object_fromboolean\f[] \- converts \f[C]bool\f[] to UCL
470 object \- \f[C]ucl_object_fromstring\f[] \- converts
472 terminated) \- \f[C]ucl_object_fromlstring\f[] \- converts
491 NULL\-terminated.
495 \f[C]UCL_STRING_ESCAPE\f[] \- perform JSON escape
497 \f[C]UCL_STRING_TRIM\f[] \- trim leading and trailing whitespaces
499 \f[C]UCL_STRING_PARSE_BOOLEAN\f[] \- parse passed string and detect
502 \f[C]UCL_STRING_PARSE_INT\f[] \- parse passed string and detect integer
505 \f[C]UCL_STRING_PARSE_DOUBLE\f[] \- parse passed string and detect
508 \f[C]UCL_STRING_PARSE_TIME\f[] \- parse time values as floating point
511 \f[C]UCL_STRING_PARSE_NUMBER\f[] \- parse passed string and detect
514 \f[C]UCL_STRING_PARSE\f[] \- parse passed string (and detect booleans,
517 \f[C]UCL_STRING_PARSE_BYTES\f[] \- assume that numeric multipliers are
585 simplify flattening of UCL objects in non\-trivial cases.
615 \f[C]ucl_object_iterate_new\f[] \- creates new safe iterator.
617 \f[C]ucl_object_iterate_reset\f[] \- resets iterator to a new object.
619 \f[C]ucl_object_iterate_safe\f[] \- safely iterate the object inside
626 \f[C]ucl_object_iter_chk_excpn\f[] \- check if the last call to
630 \f[C]ucl_object_iterate_free\f[] \- free memory associated with the safe
673 It performs validation of object using the specified schema.
679 bool\ ucl_object_validate\ (const\ ucl_object_t\ *schema,
684 This function uses ucl object \f[C]schema\f[], that must be valid in
685 terms of \f[C]json\-schema\f[] draft v4, to validate input object
712 \ \ \ \ UCL_SCHEMA_INVALID_SCHEMA,\ \ /*\ schema\ is\ invalid\ */