Skip to content

Unable to fix the json object #8

@4ossiblellc

Description

@4ossiblellc

it didn't help me fix my json code.

I'm making an app that generates this code but it's not corrext and i do t k ow how to fix it. the app makes minecraft addons and I'm making a custom howtoplay addon but I can't seem to fix these errors
Please reply if you now how to fix it, thanks

Here's the code

{
"namespace":"how_to_play",
"how_to_play_screen@how_to_play_common.screen_base":{
"$selector_stack_panel":"how_to_play.selector_stack_panel",
"$section_content_panels":"how_to_play.section_content_panels",
"$header_safezone_control":"common_store.store_top_bar_filler",
"$header_bar_control":"common_store.store_top_bar",
"$is_full_screen_layout":true
},
"selector_stack_panel":{
"type":"stack_panel",
"anchor_from":"top_left",
"anchor_to":"top_left",
"orientation":"vertical",
"$default_selector_toggle_index":2,
"controls":[
{
"how_to_play_selector_pane":{
"type":"stack_panel",
"controls":[
{
"padding_0":{
"type":"panel",
"size":[
0,
6
]
}
}
]
}{
"general_category@how_to_play_common.topic_category":{
"$category":"general"
}
},
{
"a_button@how_to_play.a_button":{
"$toggle_group_forced_index":0
}
},
{
"b_button@how_to_play.b_button":{
"$toggle_group_forced_index":0
}
},
{
"c_button@how_to_play.c_button":{
"$toggle_group_forced_index":0
}
},
{
"d_button@how_to_play.d_button":{
"$toggle_group_forced_index":0
}
},
{
"padding_1@how_to_play_common.padding":{
"size":[
0,
10
]
}
}
]
}
}
]
},
"section_content_panels":{
"type":"stack_panel",
"anchor_from":"top_left",
"anchor_to":"top_left",
"size":[
"100% - 5px",
"100%c + 5px"
],
"offset":[
2,
0
],
"controls":[
{
"general_tips_sections":{
"type":"stack_panel",
"controls":[
{
"section_contents_header@how_to_play_common.section_contents_header":{

              }
           },
           {
              "a_section@how_to_play.a_section":{

              }
           },
           {
              "b_section@how_to_play.b_section":{

              }
           },
           {
              "c_section@how_to_play.c_section":{

              }
           },
           {
              "d_section@how_to_play.d_section":{

              }
           }
        ]
     }
  }

]
},
"a_section@how_to_play_common.main_sections":{
"bindings":[
{
"binding_type":"view",
"source_control_name":"a_button_toggle",
"source_property_name":"#toggle_state",
"target_property_name":"#visible"
}
],
"controls":[
{
"paragraph_0 @how_to_play_common.paragraph":{
"$text":"cg.a.text0"
}
},
{
"padding_0 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_1 @how_to_play_common.paragraph":{
        "$text":"cg.a.text1"
     }
  },
  {
     "padding_1 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_2 @how_to_play_common.paragraph":{
        "$text":"cg.a.text2"
     }
  },
  {
     "padding_2 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_3 @how_to_play_common.paragraph":{
        "$text":"cg.a.text3"
     }
  },
  {
     "padding_3 @how_to_play_common.padding":{

     }
  }

]
}
},
"b_section@how_to_play_common.main_sections":{
"bindings":[
{
"binding_type":"view",
"source_control_name":"b_button_toggle",
"source_property_name":"#toggle_state",
"target_property_name":"#visible"
}
],
"controls":[
{
"paragraph_0 @how_to_play_common.paragraph":{
"$text":"cg.b.text0"
}
},
{
"padding_0 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_1 @how_to_play_common.paragraph":{
        "$text":"cg.b.text1"
     }
  },
  {
     "padding_1 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_2 @how_to_play_common.paragraph":{
        "$text":"cg.b.text2"
     }
  },
  {
     "padding_2 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_3 @how_to_play_common.paragraph":{
        "$text":"cg.b.text3"
     }
  },
  {
     "padding_3 @how_to_play_common.padding":{

     }
  }

]
}
},
"c_section@how_to_play_common.main_sections":{
"bindings":[
{
"binding_type":"view",
"source_control_name":"c_button_toggle",
"source_property_name":"#toggle_state",
"target_property_name":"#visible"
}
],
"controls":[
{
"paragraph_0 @how_to_play_common.paragraph":{
"$text":"cg.c.text0"
}
},
{
"padding_0 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_1 @how_to_play_common.paragraph":{
        "$text":"cg.c.text1"
     }
  },
  {
     "padding_1 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_2 @how_to_play_common.paragraph":{
        "$text":"cg.c.text2"
     }
  },
  {
     "padding_2 @how_to_play_common.padding":{

     }
  },
  {
     "paragraph_3 @how_to_play_common.paragraph":{
        "$text":"cg.c.text3"
     }
  },
  {
     "padding_3 @how_to_play_common.padding":{

     }
  }

]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions