这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Epictek
Copy link
Contributor

@Epictek Epictek commented Aug 6, 2018

Currently, the output of the checkbox dialogue is useless when trying to parse with any JSON parser as you can't loop over the array of strings.

This PR turns this:

{
"code": -1,
"text": "[topkek, memes]"
}

to this:

{
"code": -1,
"text": "[topkek, memes]",
"values": ["topkek", "memes"]
}

I kept text output the same for backwards compatibility just in case.

@Epictek Epictek closed this Aug 13, 2018
@Epictek Epictek deleted the checkbox-values branch August 14, 2018 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant