Json
A tiny JSON parser and emitter for Perl 6 on Rakudo
Install / Use
/learn @moritz/JsonREADME
Example
A simple Perl 6 module for serializing and deserializing JSON.
use JSON::Tiny;
say from-json('{ "a": 42 }').perl;
say to-json { a => [1, 2, 'b'] };
Supported Standards
JSON::Tiny implements RFC7159, which is a superset of ECMA-404, in that it permits any value as a top-level JSON string, not just arrays and objects.
License
All files (unless noted otherwise) can be used, modified and redistributed under the terms of the Artistic License Version 2. Examples (in the documentation, in tests or distributed as separate files) can be considered public domain.
Installation and Tests
To install this module, please use zef from https://github.com/ugexe/zef and type
zef install JSON::Tiny
or from a checkout of this source tree,
zef install .
You can run the test suite locally like this:
prove -e 'perl6 -Ilib' t/
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
