我有一个我希望用JSON表示的稀疏数组.例如:
-10 => 100 -1 => 102 3 => 44 12 => -87 12345 => 0
我怎样才能做到这一点?我可以这样做吗?
json sparse-array
json ×1
sparse-array ×1