Just wanting to understand how the 'order' format in JSON file

Support for KnobFS, share your experience and KnobFS modes.

Moderators: russ, Ralph

Post Reply
Message
Author
Gisbourne
Posts: 2
Joined: Thu Mar 30, 2023 11:02 pm

Just wanting to understand how the 'order' format in JSON file

#1 Post by Gisbourne »

Hi,

Just wondering if someone was able to explain the relevance of the numbering format used for the 'order' value in the .json file?

I guess leading digit on the left is the order in the list and then some kind of sub-order values after this. I also guess that this number is probably amended/assigned by the KnobFS software when selecting the control modes?

When I've edited in the past I had to clone an existing control mode as when I attempted to guess the number it failed to display.

Thanks to clarify

User avatar
Corjan
Posts: 2936
Joined: Thu Nov 19, 2015 9:04 am

Re: Just wanting to understand how the 'order' format in JSON file

#2 Post by Corjan »

Hi,


There is no real convention there.

The complete number determines the place in the list. They have been spread out a bit, to make room for new modes down the line.
Make sure if you create a new mode, to choose a unique number.


Corjan

Gisbourne
Posts: 2
Joined: Thu Mar 30, 2023 11:02 pm

Re: Just wanting to understand how the 'order' format in JSON file

#3 Post by Gisbourne »

Corjan wrote: Mon May 01, 2023 5:58 am Hi,


There is no real convention there.

The complete number determines the place in the list. They have been spread out a bit, to make room for new modes down the line.
Make sure if you create a new mode, to choose a unique number.


Corjan
Thanks Corian. Is a number assigned automatically when selecting it as a mode, or manually assigned?

Post Reply