parse Msg Array From String
Parses a JSON array from a string.
This method handles multiple JSON formats:
Direct array:
[{...}, {...}]Object with msgList:
{"msgList": [{...}]}Object with list:
{"list": [{...}]}Object with msgList as string:
{"msgList": "[{...}]"}
Return
The parsed JSONArray, or null if parsing fails
Parameters
json Str
The JSON string to parse