[−][src]Crate gojsonnet_sys
Structs
JsonnetJsonValue | An opaque type which can only be utilized via the jsonnet_json_* family of functions. |
JsonnetVm | Jsonnet virtual machine context. |
max_align_t |
Constants
LIB_JSONNET_VERSION |
Functions
jsonnet_destroy⚠ | Complement of \see jsonnet_vm_make. |
jsonnet_evaluate_file⚠ | Evaluate a file containing Jsonnet code, return a JSON string. |
jsonnet_evaluate_file_multi⚠ | Evaluate a file containing Jsonnet code, return a number of named JSON files. |
jsonnet_evaluate_file_stream⚠ | Evaluate a file containing Jsonnet code, return a number of JSON files. |
jsonnet_evaluate_snippet⚠ | Evaluate a string containing Jsonnet code, return a JSON string. |
jsonnet_evaluate_snippet_multi⚠ | Evaluate a string containing Jsonnet code, return a number of named JSON files. |
jsonnet_evaluate_snippet_stream⚠ | Evaluate a string containing Jsonnet code, return a number of JSON files. |
jsonnet_ext_code⚠ | Bind a Jsonnet external var to the given code. |
jsonnet_ext_var⚠ | Bind a Jsonnet external var to the given string. |
jsonnet_fmt_comment⚠ | Preferred style for line comments (# or //). |
jsonnet_fmt_debug_desugaring⚠ | If set to 1, will reformat the Jsonnet input after desugaring. |
jsonnet_fmt_file⚠ | Reformat a file containing Jsonnet code, return a Jsonnet string. |
jsonnet_fmt_indent⚠ | Indentation level when reformatting (number of spaeces). |
jsonnet_fmt_max_blank_lines⚠ | Indentation level when reformatting (number of spaeces). |
jsonnet_fmt_pad_arrays⚠ | Whether to add an extra space on the inside of arrays. |
jsonnet_fmt_pad_objects⚠ | Whether to add an extra space on the inside of objects. |
jsonnet_fmt_pretty_field_names⚠ | Use syntax sugar where possible with field names. |
jsonnet_fmt_snippet⚠ | Reformat a string containing Jsonnet code, return a Jsonnet string. |
jsonnet_fmt_sort_imports⚠ | Sort top-level imports in alphabetical order |
jsonnet_fmt_string⚠ | Preferred style for string literals ("" or ''). |
jsonnet_gc_growth_trigger⚠ | Run the garbage collector after this amount of growth in the number of objects. |
jsonnet_gc_min_objects⚠ | Set the number of objects required before a garbage collection cycle is allowed. |
jsonnet_import_callback⚠ | Override the callback used to locate imports. |
jsonnet_jpath_add⚠ | Add to the default import callback's library search path. |
jsonnet_json_array_append⚠ | Add v to the end of the array. |
jsonnet_json_destroy⚠ | Clean up a JSON subtree. |
jsonnet_json_extract_bool⚠ | Return 0 if the value is false, 1 if it is true, and 2 if it is not a bool. |
jsonnet_json_extract_null⚠ | Return 1 if the value is null, else 0. |
jsonnet_json_extract_number⚠ | If the value is a number, return 1 and store the number in out, otherwise return 0. |
jsonnet_json_extract_string⚠ | If the value is a string, return it as UTF8 otherwise return NULL. |
jsonnet_json_make_array⚠ | Make a JsonnetJsonValue representing an array. |
jsonnet_json_make_bool⚠ | Convert the given bool (1 or 0) to a JsonnetJsonValue. |
jsonnet_json_make_null⚠ | Make a JsonnetJsonValue representing null. |
jsonnet_json_make_number⚠ | Convert the given double to a JsonnetJsonValue. |
jsonnet_json_make_object⚠ | Make a JsonnetJsonValue representing an object with the given number of fields. |
jsonnet_json_make_string⚠ | Convert the given UTF8 string to a JsonnetJsonValue. |
jsonnet_json_object_append⚠ | Add the field f to the object, bound to v. |
jsonnet_make⚠ | Create a new Jsonnet virtual machine. |
jsonnet_max_stack⚠ | Set the maximum stack depth. |
jsonnet_max_trace⚠ | Set the number of lines of stack trace to display (0 for all of them). |
jsonnet_native_callback⚠ | Register a native extension. |
jsonnet_realloc⚠ | Allocate, resize, or free a buffer. This will abort if the memory cannot be allocated. It will only return NULL if sz was zero. |
jsonnet_string_output⚠ | Expect a string as output and don't JSON encode it. |
jsonnet_tla_code⚠ | Bind a code top-level argument for a top-level parameter. |
jsonnet_tla_var⚠ | Bind a string top-level argument for a top-level parameter. |
jsonnet_version⚠ | Return the version string of the Jsonnet interpreter. Conforms to semantic versioning http://semver.org/ If this does not match LIB_JSONNET_VERSION then there is a mismatch between header and compiled library. |
Type Definitions
JsonnetImportCallback | Callback used to load imports. |
JsonnetNativeCallback | Callback to provide native extensions to Jsonnet. |
size_t | |
wchar_t |