Closed Erigara closed 2 weeks ago
Aim to close differences between scale and json by encoding JsonString as enum in scale and not just String.
scale
json
JsonString
String
Closes #5024
Approach is to manually implement encode and decode for JsonString and describe it in schema.
I am not sure that this will help since there is anyway not 1 to 1 mapping between scale and json.
And in the json we still expect arbitrary json object and not smt encoded using schema...
Context
Aim to close differences between
scale
andjson
by encodingJsonString
as enum in scale and not justString
.Closes #5024
Solution
Approach is to manually implement encode and decode for
JsonString
and describe it in schema.Review notes
I am not sure that this will help since there is anyway not 1 to 1 mapping between
scale
andjson
.And in the
json
we still expect arbitrary json object and not smt encoded using schema...