MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / debug_json_value

Function debug_json_value

src/simulate/json_print.cpp:408–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406 return result;
407 }
408 string debug_json_value ( void * pX, TypeInfo * info, bool humanReadable ) {
409 JsonWriter walker;
410 walker.walk((char*)pX,info);
411 if ( humanReadable ) {
412 return human_readable_json(walker.ss.str());
413 } else {
414 return walker.ss.str();
415 }
416 }
417
418 string debug_json_value ( vec4f value, TypeInfo * info, bool humanReadable ) {
419 JsonWriter walker;

Callers 2

builtin_json_sprint_atFunction · 0.85
builtin_json_sprintFunction · 0.85

Calls 3

human_readable_jsonFunction · 0.85
walkMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected