!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

434 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.142 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
20 Mar 2026
@qyriad:katesiria.orgQyriad * Yeah, but parsing them into one value is likely to cause fewer problems than parsing them into a composite structure 10:41:00
@qyriad:katesiria.orgQyriad We should almost definitely at least warn on this though 10:41:10
@piegames:flausch.socialpiegameshm, as in, runtime warning?10:41:30
@qyriad:katesiria.orgQyriadYes10:41:37
@piegames:flausch.socialpiegamesfucking hell10:44:41
@piegames:flausch.socialpiegamesthere is a rust crate called ijson10:44:45
@piegames:flausch.socialpiegames which has nothing to do with I_JSON, and is just "an opinionated fork of serde_json by a person whose name starts with i" 10:45:12
@qyriad:katesiria.orgQyriadOf course10:45:32
@coca162:matrix.orgCoca

All the rust json crates I already know of:

Input: {"name": "One", "name": "Two"}
serde_json (serde API): Err(Error("duplicate field `name`", line: 1, column: 22))
serde_json (Value API): Ok(Some(String("Two")))
nanoserde: Ok(Test { name: "Two" })
facet-json: Ok(Test { name: "Two" })
simd-json (serde API): Err(Error { index: 0, character: None, err_type: Serde("duplicate field `name`") })
simd-json (Value API): Ok(Some(Value([String("One")])))
10:46:07
@piegames:flausch.socialpiegames"internet json" surely wins the prize for the least searchable name of the week10:46:08
@coca162:matrix.orgCoca *

All the rust json crates I already know of:

Input: {"name": "One", "name": "Two"}
serde_json (serde API): Err(Error("duplicate field `name`", line: 1, column: 22))
serde_json (Value API): Ok(Some(String("Two")))
nanoserde: Ok(Test { name: "Two" })
facet-json: Ok(Test { name: "Two" })
simd-json (serde API): Err(Error { index: 0, character: None, err_type: Serde("duplicate field `name`") })
simd-json (Value API): Ok(Some(Value([String("One")])))
10:46:15
@piegames:flausch.socialpiegames"cause fewer problems" as in "fail less loudly and prominently"10:47:01

Show newer messages


Back to Room ListRoom Version: 10