Specify the schema in the dropdown textbox If you change the dropdown selection to “” and specify a new schema in the $schema property, the editor won’t pick up and apply the new schema. Note that the JSON editor will load and associate the schema defined in the $schema property only once for a new JSON file. You need to close and re-open the file, and the JSON editor will read the $schema property, add an entry in the schema dropdown list and select it. You can specify the schema to be used for this JSON file by defining the “$schema” property as shown below When you add a new JSON file to your project, the schema dropdown box will show Specify the schema within a JSON file using the “$schema” property This will make working with complex JSON structures based on a schema much easier. In the RC version of Visual Studio 2013 Update 2, we added intellisense support for JSON Schema v3 and v4. In the previous post, we introduced our new JSON editor in the CTP 2 release of Visual Studio 2013 Update2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |