libcyaml icon indicating copy to clipboard operation
libcyaml copied to clipboard

Multi-document streams

Open tlsa opened this issue 6 years ago • 1 comments

Decide how/whether to support multi-document streams.

Maybe the current API only supports single document streams, and a new one can be added that takes a client callback that is called for each new document created from the stream.

tlsa avatar Mar 14 '18 12:03 tlsa

https://github.com/tlsa/libcyaml/pull/12 fixes the issue where subsequent documents would trample the data for the first document. So with this, only the first document in the stream is loaded, and if there are more a warning is logged.

tlsa avatar Mar 14 '18 20:03 tlsa