• 6 Posts
  • 8 Comments
Joined 9 months ago
cake
Cake day: December 28th, 2023

help-circle


  • renzev@lemmy.worldOPtoProgrammer Humor@lemmy.mlAI's take on XML
    link
    fedilink
    English
    arrow-up
    17
    ·
    11 days ago

    Please don’t. If you need something like json but with comments, then use YAML or TOML. Those formats are designed to be human-readable by default, json is better suited for interchanging information between different pieces of software. And if you really need comments inside JSON, then find a parser that supports // or /* */ syntax.