Jump to content

Change in KVS function: Need setting to force value type (number, string, json) in KVS data


Recommended Posts

Posted

Hi.

Don't know if this is the place to post, please move this post if it is not.

 

I was doing some testing today with scripting and using KVS to store data in json format.

However, anytime we manually edit data in a KVS variable the type changes.

 

This is a big problem as it switches from json to string automatically and then you can't change the values, as the value is over 255.

Can we have a setting to force the data type in the KVS variables?

 

Automatically generated json KVS value from a script = works, the encoded length is 220.

Json.thumb.png.4af5ca8cace1b6f65e5231199aaa271b.png

 

As soon as i try to change a value, the value assumes that it's now a string, and the character count goes up to 449 = over the 255 limit.

Then we can't edit and save.

String.thumb.png.7893192025eb30c5dd6ced81ec4ddd8b.png

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...