MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / toJson

Method toJson

source/json_tool/json_tool.cpp:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace Star;
9
10FormattedJson GenericInputFormat::toJson(String const& input) const {
11 return FormattedJson::parse(input);
12}
13
14String GenericInputFormat::fromJson(FormattedJson const& json) const {
15 return json.repr();

Callers 5

updatePreviewMethod · 0.45
saveChangesMethod · 0.45
updateImagePreviewMethod · 0.45
fromJsonMethod · 0.45
forEachChildFunction · 0.45

Calls 6

JsonClass · 0.85
FormattedJsonClass · 0.85
parseFunction · 0.50
trimMethod · 0.45
splitMethod · 0.45
transformedMethod · 0.45

Tested by

no test coverage detected