nesting too deep in JSON… should I switch to XML?

后端 未结 2 1055
渐次进展
渐次进展 2021-01-19 23:56

I am getting a JSONException complaining about a very deep nesting (more than 30). I know that the value is hardcoded in JSONWriter. what best can I do? use another library

2条回答
  •  广开言路
    2021-01-20 00:04

    You may ask yourself if such a deep nesting makes sense at all. Is it really needed? Maybe you could give us an example why you'd need such a deep nesting.

提交回复
热议问题