Skip to content

Enable JSON Schema support #600

@Micky002

Description

@Micky002

Currently it is not possibly to specify a json-schema in a data file which is references via @DataSet annotation.

If i use the following data json i get a ClassCastException (java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.List) because the $schema property is not a list.

{
  "$schema": "https://www.dummy.com/schema.json"
  "tableName": [
    {
      "colum1": "data-value"
    }
  ]
}

Is there any possibility to exclude the $schema property from parsing. I have not found any in the source code, but maybe i have missed something.

Issue occurs in version 1.42.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions