parseInto

fun parseInto(builder: VariantBuilder, json: ByteArray)

Parses json into builder, which supplies the dictionary and the duplicate-field policy.

The builder is not reset first — that is the caller's decision, because reusing one builder across a segment's documents is the whole point of passing one in.


fun parseInto(builder: VariantBuilder, json: String)

See the ByteArray overload.