valico icon indicating copy to clipboard operation
valico copied to clipboard

Separate JSON schema library?

Open mtdowling opened this issue 9 years ago • 5 comments

Would it be at all possible to separate the JSON schema portion of this crate out into its own crate that's focused only on JSON schema validation?

mtdowling avatar Feb 07 '16 02:02 mtdowling

:+1: I would like to use this for https://github.com/serde-rs/json/issues/176.

dtolnay avatar Dec 25 '16 04:12 dtolnay

👍 I'd like to use this for creating a documentation generation tool. (the existing ones are all written in JS, and not a single one can currently handle non-trivial dependencies)

jplatte avatar Apr 28 '17 18:04 jplatte

@s-panferov Are you in favor of this? I'd be be up for doing most of the implementation work on this if it's just a question of who does this, as opposed to whether this should be done at all.

@dtolnay How would that work, actually, given that this library depends on serde_json?

jplatte avatar May 22 '17 18:05 jplatte

@jplatte that's fine, our use of this would not go into the serde_json crate.

dtolnay avatar May 22 '17 18:05 dtolnay

How would this work together with serde? Would it be another proc macro that also looks at serde attributes? (I think it's really important that it does consider these attributes)

Ploppz avatar Nov 07 '19 15:11 Ploppz