This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Friday, April 14, 2023
Show HN: TYON, a Simple JSON Alternative https://ift.tt/mr8TNRk
Show HN: TYON, a Simple JSON Alternative TYON (typed object notation) is my attempt to address the main frustrations I have with JSON. 1. Key repetition - you can specify the key names once at the start of a list or map, instead of on each object separately. 2. Escaping strings - everything in a string is literal except for " which is escaped as "". This makes writing regexes and multiline text easier without introducing a bunch of different string styles or excess escaping, which I am not a fan of. 3. While not nearly as important as the first two to me, I did reduce symbol clutter when possible. Files are implicitly maps, keys don't require quotes in most cases, and you don't need commas between items. 4. Decoupling syntax and data formats - TYON has recommended formats for interoperability, but none of these are part of the core spec, so tools are equally welcome to just treat everything as a string. The linked repo contains the spec and a cli app that provides formatting, validation, and conversion to JSON. https://ift.tt/7cYAid2 April 15, 2023 at 03:10AM
Subscribe to:
Post Comments (Atom)
Show HN: DebugBrief – turn debugging sessions into reports, no AI https://ift.tt/jkSQhn8
Show HN: DebugBrief – turn debugging sessions into reports, no AI https://ift.tt/QFh1C0x June 22, 2026 at 01:27AM
-
Show HN: When is the next Caltrain? (minimal webapp) I was frustrated with the existing caltrain websites / apps, so I made a super minimali...
-
Show HN: I built Dirac, Hash Anchored AST native coding agent, costs -64.8 pct Fully open source, a hard fork of cline. Full evals on the gi...
-
Show HN: A directory of 800 free APIs, no auth required Explore reliable free APIs for developers — ideal for web and software development, ...
No comments:
Post a Comment