You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many scenes, bool literal value is expected rather than 1 or 0.
Have to set bool value manually as option["geo"]["label"]["emphasis"]["show"] = true
The text was updated successfully, but these errors were encountered:
{test: 1}//from jjson{test: true}//from jsffitrue//getting value by key from jsffi
So, use jsffi instead of jjson. Both of them should have similar performance characteristics, but jsffi is part of stdlib now (not sure if existed back when this issue was created) so I would recommend it over jjson. I've successfully used jsffi to create a similar options js object for an external library.
One thing to be careful of though when using it with karax is that
If you use the first one, then the string is interpreted as a nim string which means it becomes an array of numbers, whereas with the second one it is treated correctly on both the js and the c backends.
In many scenes, bool literal value is expected rather than 1 or 0.
Have to set bool value manually as
option["geo"]["label"]["emphasis"]["show"] = true
The text was updated successfully, but these errors were encountered: