Skip to content

Can't Parse Array Json proper #52

@gametrainee

Description

@gametrainee
JSONObject array=new JSONObject("[]");
Debug.Log(array.list);

Output : Null

JSONObject array=new JSONObject("[ ]"); // whitespace between square bracket 
Debug.Log(array.list);

Output : System.Collections.Generic.List`1[Defective.JSON.JSONObject]
Its return List with count 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions