Implement JSON and Protobuf OSD codecs
This commit is contained in:
10
README.md
10
README.md
@@ -97,5 +97,15 @@ instruction handling. Serialization is compact and deterministic for maps.
|
||||
DTD declarations and named entity expansion are disabled; input, output,
|
||||
nesting, node, and aggregate allocation limits are enforced with byte-positioned
|
||||
parse errors.
|
||||
JSON conversion is explicit rather than a derived Serde mapping: integral
|
||||
width coercion, empty strings, binary arrays, typed values, and the reference's
|
||||
default omission rules retain their C# behavior. Its reader rejects duplicate
|
||||
properties and enforces byte, depth, node, and allocation limits while compact
|
||||
output uses System.Text.Json-compatible escaping and stable map-key ordering.
|
||||
The private OSD Protobuf schema is implemented directly with fixed field tags,
|
||||
ZigZag `int32`, little-endian IEEE-754 fixed64 values, 16-byte UUIDs, bounded
|
||||
length-delimited containers, and wire-type-aware unknown-field skipping. The
|
||||
schema remains an internal compatibility format; native encoders emit stable
|
||||
sorted maps and accept the exact optional LLSD Protobuf header.
|
||||
The controlled audit aggregates every expected failure by standardized C#
|
||||
member ID and rejects unrelated fixture, assertion, compile, or symbol errors.
|
||||
|
||||
Reference in New Issue
Block a user