FrendsPlatform / Frends.Json

FRENDS JSON Processing tasks, which allow you to do JSONPath queries, JSON Handlebars transformations, JSON Validation against a JSONSchema and converting various data formats to JSON.
MIT License
7 stars 4 forks source link

Converting XML to JSON #9

Closed DigiaAleksandrPaukku closed 3 years ago

DigiaAleksandrPaukku commented 6 years ago

Is Frends.Common.Data.ConvertToJSON task available any more? How can I do this conversion using available set of standard Frends tasks?

CommunityHiQAdmin commented 6 years ago

Have you tried this https://github.com/FrendsPlatform/Frends.Json#jsonconvertxmlstringtojtoken

DigiaAleksandrPaukku commented 6 years ago

It works, thanks! But it's result is JToken, not JSON string. Further explicit conversion does the rest thing.

berghall commented 3 years ago

To get the string representation of a JToken, use the method .ToString()