Moved all docs from ./docs/ to ./web/documentation/ to be available on the website. No code changes. (0.40.5)
This commit is contained in:
parent
8f2847abfb
commit
567fa73796
224 changed files with 4584 additions and 1139 deletions
43
web/documentation/external/json.md
vendored
Normal file
43
web/documentation/external/json.md
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
layout: page
|
||||
published: true
|
||||
noToc: true
|
||||
noComments: false
|
||||
noDate: false
|
||||
title: Fun - JSON (json-c) extension (optional)
|
||||
subtitle: Documentation for JSON (json-c) extension (optional)
|
||||
description: Documentation for JSON (json-c) extension (optional)
|
||||
permalink: /documentation/external/json/
|
||||
lang: en
|
||||
tags:
|
||||
- documentation
|
||||
- handbook
|
||||
- installation
|
||||
- usage
|
||||
- introduction
|
||||
- help
|
||||
- guide
|
||||
- howto
|
||||
- docs
|
||||
- specifications
|
||||
- specs
|
||||
- repl
|
||||
---
|
||||
|
||||
# JSON (json-c) extension (optional)
|
||||
|
||||
- CMake option: FUN_WITH_JSON=ON
|
||||
- Purpose: JSON parse/stringify and file helpers via json-c.
|
||||
- Homepage: https://json-c.github.io/json-c/
|
||||
|
||||
## Opcodes:
|
||||
|
||||
- OP_JSON_PARSE: pops text; pushes value or Nil on error
|
||||
- OP_JSON_STRINGIFY: pops pretty:int(0/1), value; pushes string
|
||||
- OP_JSON_FROM_FILE: pops path; pushes value or Nil
|
||||
- OP_JSON_TO_FILE: pops pretty:int(0/1), value, path; pushes 1/0
|
||||
|
||||
## Notes:
|
||||
|
||||
- Requires json-c development headers/libs.
|
||||
- When disabled, functions push empty/neutral values similar to other optional modules.
|
||||
Loading…
Add table
Add a link
Reference in a new issue