Updates the docs structure, navigation etc to be easier + better suited for showing Nx technology support beyond just TS. **Notes:** - API (`/nx-api`) tab is removed from the navigation (i.e. menu bar), but pages still remain for now until we update references in `*.md` files. - Redirects are set up `/nx-api` to go to their respect new location e.g. `/technologies` or `/reference/core-api` - Old URLs still exist in the sitemap for now, but majority of them will be redirected -- a follow-up PR can remove them. **Preview:** https://nx-dev-git-nx-dev-polyglot-docs-restructure-nrwl.vercel.app/docs --------- Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
71 lines
1.1 KiB
Markdown
71 lines
1.1 KiB
Markdown
# Interface: JsonParseOptions
|
|
|
|
## Hierarchy
|
|
|
|
- `ParseOptions`
|
|
|
|
↳ **`JsonParseOptions`**
|
|
|
|
## Table of contents
|
|
|
|
### Properties
|
|
|
|
- [allowEmptyContent](/reference/core-api/devkit/documents/JsonParseOptions#allowemptycontent): boolean
|
|
- [allowTrailingComma](/reference/core-api/devkit/documents/JsonParseOptions#allowtrailingcomma): boolean
|
|
- [disallowComments](/reference/core-api/devkit/documents/JsonParseOptions#disallowcomments): boolean
|
|
- [expectComments](/reference/core-api/devkit/documents/JsonParseOptions#expectcomments): boolean
|
|
|
|
## Properties
|
|
|
|
### allowEmptyContent
|
|
|
|
• `Optional` **allowEmptyContent**: `boolean`
|
|
|
|
#### Inherited from
|
|
|
|
ParseOptions.allowEmptyContent
|
|
|
|
---
|
|
|
|
### allowTrailingComma
|
|
|
|
• `Optional` **allowTrailingComma**: `boolean`
|
|
|
|
Allow trailing commas in the JSON content
|
|
|
|
#### Overrides
|
|
|
|
ParseOptions.allowTrailingComma
|
|
|
|
---
|
|
|
|
### disallowComments
|
|
|
|
• `Optional` **disallowComments**: `boolean`
|
|
|
|
Disallow javascript-style
|
|
|
|
**`Default`**
|
|
|
|
```ts
|
|
false;
|
|
```
|
|
|
|
#### Overrides
|
|
|
|
ParseOptions.disallowComments
|
|
|
|
---
|
|
|
|
### expectComments
|
|
|
|
• `Optional` **expectComments**: `boolean`
|
|
|
|
Expect JSON with javascript-style
|
|
|
|
**`Default`**
|
|
|
|
```ts
|
|
false;
|
|
```
|