Skip to content

Add example nested Variant values that are not JSON encodeable #77

@alamb

Description

@alamb

Variant is a binary format similar to JSON but allows more types in its value fields.

However, at the time of writing, I could not figure out how to create nested structures other than via JSON, which limits the type of the fields. I tried Apache spark, but to no avail.

Thus, we have values such as the following (valid JSON):

{ 
  "field1" : 123.455
}

However, there are no example values for data like this (where the field's value is a signed 8 bit integer):

{ 
  "field1" : 123u8,
}

This ticket tracks adding example values for Variants for nested data that is not JSON encodeable (e.g. with timestamp and other types of fields)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions