Questions tagged [json-everything]

json-everything is a .Net project to extend System.Text.Json to provide more advanced JSON usage, like JSON Schema, JSON Path, and others.

json-everything is a .NET project by gregsdennis to extend System.Text.Json to provide more advanced JSON usage, like JSON Schema, JSON Path, and others.

To find our more, please visit https://json-everything.net. Source for the project can be found on GitHub.

4 questions
2
votes
3 answers

How can I validate that a JSON Schema is valid against the JSON Schema Standard) with JsonSchema.Net

I've been struggling a lot trying to validate a json schema against a meta-schema (check if the json actually follows the JSON Schema Standard). I tried to follow the documentation link , link. And I'm basing this on the oficial JSON Schema…
Lombas
  • 1,000
  • 1
  • 8
  • 24
0
votes
1 answer

JsonSchema.Net stops validation at first property with inappropriate error

I have JSON schema generated using JsonSchema.Net.Generation. My classes for schema are as below: class PaymentInitiationSchema { [Required] [JsonPropertyName("type")] public string Type { get; set; } [Required] …
Szyszka947
  • 473
  • 2
  • 5
  • 21
0
votes
1 answer

Can't get the desired properties via JsonPath evaluate method

I have a json schema that marks special properties in need of processing and I want to query those via JsonPath.Evaluate. Here's a part of the schema to illustrate the issue { "type": "object", "properties": { "period": { …
Pavel Ronin
  • 576
  • 4
  • 11
0
votes
0 answers

Get Line/Col info from System.Text.Json.JsonElement

I have some 3rd part code that requires a System.Text.Json.JsonElement, but I need to get line numbers for the System.Text.Json.JsonElement objects it passes back to me. Basically I'm using JsonSchema.Net to validate a JSON document, and I want to…
Sprotty
  • 5,676
  • 3
  • 33
  • 52