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
Shouldn't the Data.Value be an object, currently it's a string. In order to properly assign; int, arrays, bool, etc. you have to use the SetValue("value", true) to enforce the correct serialization. Wouldn't it be easier it the Data.Value just was an object? or I'm missing something?
Best regards
Dennis
The text was updated successfully, but these errors were encountered:
It make sense that it should be object, but the value would have to be type checked to ensure it matches the spec. Array does not appear to be a supported value type yet.
7.6. VALUE
A VALUE data type MUST be a NUMBER, STRING, or one of the following literal names: false, null, or true.
NOTE: This release of Collection+JSON does not support OBJECT or ARRAY as a valid VALUE.
in this release of Cj, data.value is not an object. You can, however, extend Cj by adding an object property (data.object). there may already be some Cj extensions that do this, too.
check out the cj extensions list and, if you don't see what you think you need, feel free to start a new extension and, as long as it is backward compatible, we can register it for others to use, too.
Hi,
Shouldn't the Data.Value be an object, currently it's a string. In order to properly assign; int, arrays, bool, etc. you have to use the SetValue("value", true) to enforce the correct serialization. Wouldn't it be easier it the Data.Value just was an object? or I'm missing something?
Best regards
Dennis
The text was updated successfully, but these errors were encountered: