alibaba / VirtualView-iOS

A solution to create & release UI component dynamically.
MIT License
507 stars 77 forks source link

fix: action is Array or Dictionary can't be transformed #29

Open relax-yy opened 6 years ago

relax-yy commented 6 years ago

When action is Array or Dictionary, it's hard to transformed to NSArray or NSDictionary.

"items": [
     "action": {
        "id": 1,
        "name: "book name"
    },
    "type": 1"
]

the TangramBus's event params get action is

{
    id = 1;
    name = "book name";
}

While we want

 {
        "id": 1,
        "name: "book name"
 }
CLAassistant commented 5 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


relax seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.