38 int flags =
pretty ? JSON_C_TO_STRING_PRETTY : JSON_C_TO_STRING_PLAIN;
39 const char *
js = json_object_to_json_string_ext(
j,
flags);
static json_object * fun_to_json(const Value *v)
Convert a Fun Value into a json-c object.
push_value(vm, make_string(js ? js :""))
Tagged union representing a Fun value.
Value make_string(const char *s)
Construct a string Value by duplicating the given C string.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.