CodeJsonXThis is a VS Code extension that provides JSON formatting, compression, text escaping, and URL encoding/decoding capabilities for developers working with JSON files. This project is developed purely using Qwen Code and Lingma Code Assistant. The development process is in the series of articles published on My Blog. FeaturesThis extension provides six main features for working with JSON files:
All commands can be accessed through:
Format JSONConverts compact JSON into a well-formatted, readable format with proper indentation. Compact JSONRemoves all unnecessary whitespace from JSON to create a compact representation. Escape JSON TextConverts regular text into properly escaped JSON text that can be safely included in JSON strings. Example:
Becomes:
Note: When escaping, the entire selected text is treated as a string value and properly escaped for use within JSON. Unescape JSON TextConverts escaped JSON text back to its original form. Example:
Becomes:
EncodeURL encodes selected text or the entire document when no text is selected. This is useful for encoding special characters in URLs or form data. Example:
Becomes:
DecodeURL decodes selected text or the entire document when no text is selected. This converts URL encoded text back to its original form. Example:
Becomes:
RequirementsNo special requirements. This extension works with standard VS Code installations. Extension SettingsThis extension does not contribute any VS Code settings. Known IssuesNone at this time. Release Notes0.0.2
0.0.1Initial release with JSON formatting, compaction, escaping, and unescaping features. Following extension guidelinesEnsure that you've read through the extensions guidelines and follow the best practices for creating your extension. Working with MarkdownYou can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
For more informationEnjoy! |