Skip to content

JsonUtility.ToJson as serialization method doesn't support  #246

Description

@gontzalve

Hey! I just discovered RestClient and it's been an amazing discovery! Thank you for the hard work guys!

I was having some issues because I'm trying to send a PUT request with an object filled with properties instead of fields, and through further inspection I realized that the JsonUtility library RestClient uses has some limitations with it, as I could confirm it while searching for a solution:

https://forum.unity.com/threads/jsonutility-fromjson-not-binding-json-to-properties.1284746/
https://discussions.unity.com/t/serializing-properties-json-saving-and-loading-system/224944

Is there a way to use Newtonsoft as a json serialization tool?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions