Skip to content

Decode should ignore the $schema property in the root of a JSON document #457

Description

@leighmcculloch

Decode should ignore the $schema property in the root of a JSON document.

The JSON schema allows the $schema property, and it is useful when editing XDR-JSON in editors that use it to provide autocomplete, but when trying to decode a JSON document with the $schema property it is considered an error.

cc @stellar/devx

Activity

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

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