FastLED 3.10.9
Loading...
Searching...
No Matches

◆ value() [3/5]

void fl::JsonStreamWriter::value ( const json & j)

Definition at line 191 of file json_stream_writer.cpp.hpp.

191 {
192 if (mSuppressedDepth > 0) {
193 return;
194 }
196 j.write_to(
197 [](void *ctx, const char *data, fl::size len) {
198 JsonStreamWriter *self = static_cast<JsonStreamWriter *>(ctx);
199 for (fl::size i = 0; i < len; ++i) {
200 self->writeChar(data[i]);
201 }
202 },
203 this);
204}
void prefixForValue() FL_NO_EXCEPT
JsonStreamWriter(Sink sink) FL_NO_EXCEPT

References JsonStreamWriter(), fl::FL_NO_EXCEPT, mSuppressedDepth, prefixForValue(), and writeChar().

+ Here is the call graph for this function: