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

Method parse2_validate_only

src/fl/stl/json.cpp.hpp:1103–1105  ·  view source on GitHub ↗

Phase 1 validation only (for testing - MUST allocate zero heap memory)

Source from the content-addressed store, hash-verified

1101
1102// Phase 1 validation only (for testing - MUST allocate zero heap memory)
1103bool json_value::parse2_validate_only(const fl::string& txt) {
1104 return parse2_validate_only(fl::string_view(txt.c_str(), txt.length()));
1105}
1106
1107bool json_value::parse2_validate_only(fl::string_view txt) {
1108 JsonTokenizer tokenizer;

Callers

nothing calls this directly

Calls 5

string_viewClass · 0.70
c_strMethod · 0.45
lengthMethod · 0.45
parseMethod · 0.45
is_validMethod · 0.45

Tested by

no test coverage detected