Skip to content

[using in unity] can't assign ‘xxx’ (type System.String) to type ListJson.JsonData #117

@caochao

Description

@caochao

it's quite a strange problem when I build my game to iOS platform and using JsonMapper.ToObject<List<JsonData>>("some json string") to parse object array json string.
json string is "[{"BattleCfg":"10_03_001","SceneName":"RoomBall","Item1":"1","Prev":"0","Item2":"2","Next":"2","Hp":"8","Item3":"3","Id":"1","Name":"01"}]".
however, this codes works fine in unity editor...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions