skip to Main Content

Json isn't Deserializing

I'm using System.Text.Json. I have the following models: public class Contacts { [JsonPropertyName("id")] public long Id { get; set; } [JsonPropertyName("name")] public string Name { get; set; } = string.Empty; [JsonPropertyName("paused")] public bool Paused { get; set; } [JsonPropertyName("type")] public…

VIEW QUESTION

Dataset not failing on validation for json schema

I have a base schema and extended schema below ./resources/json-schemas/simple-person.schema { "$id": "http://example.com/json-schemas/simple-person.schema", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Simple Person", "type": "object", "people": { "items": { "properties": { "name": { "type": "string", "description": "The person's name." }, "age": { "type": "integer", "description":…

VIEW QUESTION

XSLT replacing Json with plain text equivelent

ish at XSLT and have a XSLT output that contains some json within elements. I've been looking around to see if there is anyway for XSLT to replace the json with just a string: Ex: <company:Cause xmlns:company="http://example.com/company" xmlns:j="http://example.com/j" xmlns:s="http://example.com/s" xmlns:nc="http://example.com/nc"…

VIEW QUESTION
Back To Top
Search