JSONSerialization Invalid type in JSON write (_SwiftValue)

前端 未结 10 947
情书的邮戳
情书的邮戳 2020-12-14 14:14

Why does the following code give me the error:

Invalid type in JSON write (_SwiftValue).

The error is thrown on this line:

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 14:34

    In my case I accidentally added an object to the Parameters dictionary instead of a string

提交回复
热议问题