Json Deserialize

Json Deserialize

Comments

  • Im trying to use the Json Deserialize step but keep getting error.

    "Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type Sample because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List T that can be deserialized from a JSON array.

  • If you are passing in a list then on the JSON Deserialize step you will need to check "Is output Array" setting.
    [color=rgb(127, 140, 141)][font=Roboto][img]att1[/img][/font][/color]
    [i]edited by faiza@decisions.com on 6/16/2021[/i]

Sign In or Register to comment.