Syntax Issue on custom formatter hjson file

Hello @Teodor,
With the example below, I want to add 2 formatters to the interface. However, I am getting syntax errors. I couldn’t find the syntax error, can you check it?

image

 {
      type: 'method_serialize',
      groupTitle : 'Custom Formatters',
      groupIcon : 'fa fa-lg fa-key',
      addTitle: 'Serialize JSON',
      title : 'Serialize JSON',
      icon : 'fa fa-lg fa-font',
      state : 'opened',
      help : 'you can convert json to serialized object'
    },
    {
      type: 'method_genNumber',
      groupTitle : 'Custom Formatters',
      groupIcon : 'fa fa-lg fa-key',
      addTitle: 'Generate Number',
      title : 'Generate Number',
      icon : 'fa fa-lg fa-hashtag',
      state : 'opened',
      help : 'Generates a random number between the start and end range..',
      properties : [
        {
          group: 'Properties',
          variables: [
            {
                name: '1', 
                optionName: '1', 
                title: 'Start', 
                type: 'number',
                serverDataBindings: true, 
                defaultValue: '',
                help: 'Generates a random number between the start and end range. '
            }
          ]
        }
      ]
    }
Community Page
Last updated: