I handle a json string returned from server.
json string can contain json array, or can not contain.
When there is no json array I have a problem.
map.ContainsKey("rows") returns true.
map.Get("rows") returns not List, but wrapper of NSNull.
Dim l_object As Object = map.Get("rows")
l_object <> null returns sometimes true, sometimes false.
How to handle this case ?
json string: {..., "rows":null}
json string can contain json array, or can not contain.
When there is no json array I have a problem.
map.ContainsKey("rows") returns true.
map.Get("rows") returns not List, but wrapper of NSNull.
Dim l_object As Object = map.Get("rows")
l_object <> null returns sometimes true, sometimes false.
How to handle this case ?
json string: {..., "rows":null}
Last edited: