How do I replace the OData V4 default Json Serializer with NewtonSoft's Json Serializer?

前端 未结 2 1944
抹茶落季
抹茶落季 2021-02-09 02:56

I have a class that contains a List of DynamicObjects. I have a unit test that confirms that the Newtonsoft Json Serializer/Deserializer handles this correctly. However, the d

2条回答
  •  被撕碎了的回忆
    2021-02-09 03:38

    Looked for this before, i don't think it's possible. Kinda like it's not possible to add an XML serializer :-(

    It is possible in Web Api though

提交回复
热议问题