Skip to content

Commit

Permalink
Add JSON doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Seggan committed Nov 1, 2023
1 parent a7636f7 commit e7afe44
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/lang/std/json.papyri
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@include `metis.lib`

@page(`The json module`)...

@h1 { The `json` module }

The `json` module provides functions for encoding and decoding JSON data.

@h2 { Free functions }

@h3 { parse(s: string): any }
Parse a JSON string and return the corresponding value.

@h3 { stringify(value: any): string }
Convert a value to a JSON string.
Empty file.

0 comments on commit e7afe44

Please sign in to comment.