MCPcopy Create free account
hub / github.com/FastLED/FastLED / parse

Method parse

src/fl/stl/json.h:679–687  ·  view source on GitHub ↗

Parsing factory method - uses native parser

Source from the content-addressed store, hash-verified

677
678 // Parsing factory method - uses native parser
679 static json parse(const fl::string &txt) FL_NOEXCEPT {
680 auto parsed = json_value::parse2(txt);
681 if (parsed) {
682 json result;
683 result.mValue = parsed;
684 return result;
685 }
686 return json(nullptr);
687 }
688
689 // Convenience methods for creating arrays and objects
690 static json array() FL_NOEXCEPT {

Callers 11

js_library.jsFile · 0.45
getEventTypeMethod · 0.45
formatJsonMethod · 0.45
handleStartFunction · 0.45
extractFrameDataFunction · 0.45
processFrameMethod · 0.45
updateUiComponentsMethod · 0.45
addUiElementsMethod · 0.45
getSpilloverConfigMethod · 0.45
importRecordingMethod · 0.45

Calls 1

jsonClass · 0.70

Tested by

no test coverage detected