MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / to_string

Method to_string

include/chaiscript/utility/json.hpp:326–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 bool is_null() const { return internal.Type == Class::Null; }
325
326 std::string to_string() const { bool b; return to_string( b ); }
327 std::string to_string( bool &ok ) const {
328 ok = (internal.Type == Class::String);
329 return ok ? *internal.String : std::string("");

Callers 2

parse_objectMethod · 0.45
from_jsonMethod · 0.45

Calls 1

stringClass · 0.85

Tested by

no test coverage detected