▲ 15 ▼ Is there a format for a huge distributed JSON document? (feddit.org) submitted 3 days ago by ki4jgt@feddit.org to c/programming@programming.dev 34 comments fedilink hide all child comments Say you wanted a database inside a huge distributed JSON file that scaled vertically. So that get("users.jane33"), pulls Jane33's profile. Are there any specs for that? I've seen MongoDB, but no longer like its license. I'm thinking a DHT with pointers, and raw data blobs. But would like to see what's already working.
[–] bananabread@lemmy.zip 7 points 3 days ago (2 children) Json is for humans, not for storage permalink fedilink source hideshow 2 child comments replies: [–] bignose@programming.dev 8 points 3 days ago* (last edited 3 days ago) Json is for humans, not for storage JSON is not for humans. If I can't write arbitrary multi-line comments in the text file, it's not for humans. JSON is, as described by the standard defining it, for computers talking to each other: JSON is a […] syntax for defining data interchange formats. If you want a format writable and readable by humans? We deserve better. permalink fedilink source parent [–] IMALlama@lemmy.world 2 points 3 days ago Tell that to postgres's json and json. But you're completely correct here, just because you can do something doesn't mean it's a good idea. permalink fedilink source parent
[–] bignose@programming.dev 8 points 3 days ago* (last edited 3 days ago) Json is for humans, not for storage JSON is not for humans. If I can't write arbitrary multi-line comments in the text file, it's not for humans. JSON is, as described by the standard defining it, for computers talking to each other: JSON is a […] syntax for defining data interchange formats. If you want a format writable and readable by humans? We deserve better. permalink fedilink source parent
[–] IMALlama@lemmy.world 2 points 3 days ago Tell that to postgres's json and json. But you're completely correct here, just because you can do something doesn't mean it's a good idea. permalink fedilink source parent