aboutsummaryrefslogtreecommitdiffstats
path: root/examples/notes.aup
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 17:48:09 +0100
committereunhhu <[email protected]>2026-09-26 17:48:09 +0100
commit2a050e1b9842eda4cf89f4af6fe797560c9caad6 (patch)
tree6b7ca189d6134bdd8e1b8e5f0412bbeadd4b7dbd /examples/notes.aup
parent42f6a986f2150738cb9a975bd24a99838d49f068 (diff)
downloadaup-2a050e1b9842eda4cf89f4af6fe797560c9caad6.tar.gz
aup-2a050e1b9842eda4cf89f4af6fe797560c9caad6.zip
Declare number and text message fields; check JSON bodies
input add = message { title: text, points: number } now compiles, with variable fields anywhere and several of them. The served-app checks post 300 random JSON objects (escapes, control bytes, Korean, surrogate pairs, members in any order) and read them back as Python's json module does, with a list of bodies that must be refused and why.
Diffstat (limited to 'examples/notes.aup')
0 files changed, 0 insertions, 0 deletions