Skip to content

Support for json.parse with extensive round-trip tests - #1461

Open
TristonianJones wants to merge 3 commits into
cel-expr:masterfrom
TristonianJones:json-parse-2
Open

Support for json.parse with extensive round-trip tests#1461
TristonianJones wants to merge 3 commits into
cel-expr:masterfrom
TristonianJones:json-parse-2

Conversation

@TristonianJones

Copy link
Copy Markdown
Collaborator

Support for json.parse with extensive roundtrip tests.

If the value can be parsed as JSON, it returns an optional_type with a value.
There are two flavors of json.parse, one which returns a dyn value, and one
which takes a type identifier and attempts to parse the JSON value into the type.

The type-specified version of json.parse supports both native and protobuf type
definitions.

Benchmarks included under ext/design/encoders.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant