E
E
eRKa2017-05-27 18:28:02
.NET
eRKa, 2017-05-27 18:28:02

What are the json to json transformation libraries?

In other languages, there are, in C #, I really didn’t find anything, libraries that transform json using a given scheme.
In my case, it doesn't matter what the transformation scheme will look like: json, just text, or some special format. Newtonsoft does not roll, there are schemes only for validation, and I need to transform not linq, but to make it declarative.
I need to be able to just do something like this:

var newJson = Json.Transform(inputJson, schemaJson);

where inputJson and schemaJson are just strings.
I would like this JUST - JSON option , but it has some limitations. Firstly, it only works with strings in json, it cannot work with value types. Because of this, he does not know how to transform DateTimeOffset, after converting he makes DateTime out of it, I lose the time zone. The method with a custom method in this library for conversion also does not roll, the value comes to the method as a string already in dateTime.
In general, if anyone knows ready-made options, share.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question