Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
https://stackoverflow.com/questions/53768041/custom-serializer-for-just-one-property-in-json-net-without-changing-the-model by dbc_MinLength
<?xml version="1.0" encoding="utf-16"?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  <xs:element name="DATAPACKET">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="METADATA" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PARAMS" type="xs:string" minOccurs="0" />
              <xs:element name="FIELDS" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="FIELD" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:attribute name="attrname" type="xs:string" />
                        <xs:attribute name="fieldtype" type="xs:string" />
                        <xs:attribute name="WIDTH" type="xs:unsignedByte" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ROWDATA" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ROW" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:attribute name="CompanyID" type="xs:string" />
                  <xs:attribute name="Description" type="xs:string" />
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="Version" type="xs:decimal" />
    </xs:complexType>
  </xs:element>
  <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="DATAPACKET" />
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>
Last Run: 2:58:33 pm
Compile: 0.126s
Execute: 0.442s
Memory: 3.82Mb
CPU: 0.328s