JsonneD.JsonnetValue

Undocumented in source.

Constructors

this
this(JsonnetJsonValue* value, JsonneD* vm)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

arrayAppend
void arrayAppend(JsonnetValue v)

Add v to the end of the array. v is no longer valid after the append

extractBool
Nullable!bool extractBool()

Return 0 if the value is false, 1 if it is true, and 2 if it is not a bool.

extractNull
bool extractNull()

Return 1 if the value is null, else 0.

extractNumber
Nullable!double extractNumber()

If the value is a number, return 1 and store the number in out, otherwise return 0.

extractString
Nullable!string extractString()

If the value is a string, return it as UTF8 otherwise return NULL.

objectAppend
void objectAppend(string f, JsonnetValue v)

Add the field f to the object, bound to v.

opAssign
void opAssign(JsonnetValue other)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Payload
struct Payload
Undocumented in source.

Variables

payload
Payload* payload;
Undocumented in source.

Meta