JSON schema mapping

535 views
Skip to first unread message

Mihai B

unread,
Apr 13, 2016, 4:15:38 PM4/13/16
to JSON Schema
Is there any effort/project/standard to provide mapping between json schema(s)? For example given a json schema "x" and a set of data of schema "y" I need a recipe/schema which would transform the data of "y" format to match schema "x"

Mihai

Friedrich Lindenberg

unread,
Apr 13, 2016, 4:18:08 PM4/13/16
to json-...@googlegroups.com
These two are for mapping flat tables to JSON data; not sure if there’s something for object -> object:

https://github.com/OpenDataServices/flatten-tool
http://github.com/pudo/jsonmapping

- Friedrich


> On 13 Apr 2016, at 22:15, 'Mihai B' via JSON Schema <json-...@googlegroups.com> wrote:
>
> Is there any effort/project/standard to provide mapping between json schema(s)? For example given a json schema "x" and a set of data of schema "y" I need a recipe/schema which would transform the data of "y" format to match schema "x"
>
> Mihai
>
> --
> You received this message because you are subscribed to the Google Groups "JSON Schema" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to json-schema...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Mihai B

unread,
Apr 13, 2016, 4:56:44 PM4/13/16
to JSON Schema
Flattening is not enough. The data source (of schema `y` type) may have a different structure(i.e. different property names, objects nested differently etc).  An attempt to address this problem is made by amazon [0] but they seem to use a java based templating engine( Velocity Template Language ) which kinda puts me off and JSONPath. 

Reply all
Reply to author
Forward
0 new messages