Skip to main content
在 Manus 中运行任何 Skill
一键导入

nojson

星标48
分支0
更新时间2026年4月29日 14:07

Work with the nojson Rust crate: parse and generate JSON via the `Json<T>` wrapper, `RawJson`/`RawJsonOwned`/`RawJsonValue` for low-level access, the `DisplayJson` trait, and in-place builders `json()` / `object()` / `array()`. Implement `DisplayJson` + `TryFrom<RawJsonValue<'_, '_>>` to round-trip custom types; navigate objects with `to_member` / `to_path_member` and `required()` / `optional()`; produce rich error context via `RawJsonValue::invalid()` and `JsonParseError::get_line_and_column_numbers`; handle JSONC with `parse_jsonc`. Use when the task mentions nojson, its no-macro/no-dependency JSON API, or no_std JSON work with this crate.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly