| 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; |
no test coverage detected