Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] https://stackoverflow.com/questions/73767478/specified-method-is-not-supported-error-on-calling-grpc-service-using-protobuf-n by dbc_MinLength
Environment version: .NET 9.0.0 (9.0.0), Unix 6.8.0.1014
Newtonsoft.Json version: Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed

"2025-04-06T01:42:24+00:00"
"atomic value"
Succesfully round-tripped Building:

{
  "Id": "building1",
  "tag": "tag1",
  "Metadata": {
    "Type": 0,
    "IsAttached": true,
    "Model": "model1",
    "PropertyMetadata": {
      "propKey1": {
        "Value": null,
        "Version": 3,
        "backVersion": 2,
        "backCode": 10101,
        "Description": "description",
        "createTime": "9/19/2022"
      }
    }
  },
  "Model": "model1",
  "Properties": {
    "foo": null
  },
  "Components": {
    "foo": {
      "Metadata": {
        "Model": null,
        "PropertyMetadata": {}
      },
      "Model": null,
      "Properties": {},
      "Components": {}
    }
  }
}
Succesfully round-tripped Building:

{
  "Id": "building1",
  "tag": "tag1",
  "Metadata": {
    "Type": 0,
    "IsAttached": true,
    "Model": "model1",
    "PropertyMetadata": {
      "propKey1": {
        "Value": [
          null
        ],
        "Version": 3,
        "backVersion": 2,
        "backCode": 10101,
        "Description": "description",
        "createTime": "9/19/2022"
      }
    }
  },
  "Model": "model1",
  "Properties": {
    "foo": [
      null
    ]
  },
  "Components": {
    "foo": {
      "Metadata": {
        "Model": null,
        "PropertyMetadata": {}
      },
      "Model": null,
      "Properties": {},
      "Components": {}
    }
  }
}
Succesfully round-tripped Building:

{
  "Id": "building1",
  "tag": "tag1",
  "Metadata": {
    "Type": 0,
    "IsAttached": true,
    "Model": "model1",
    "PropertyMetadata": {
      "propKey1": {
        "Value": 10101,
        "Version": 3,
        "backVersion": 2,
        "backCode": 10101,
        "Description": "description",
        "createTime": "9/19/2022"
      }
    }
  },
  "Model": "model1",
  "Properties": {
    "foo": 10101
  },
  "Components": {
    "foo": {
      "Metadata": {
        "Model": null,
        "PropertyMetadata": {}
      },
      "Model": null,
      "Properties": {},
      "Components": {}
    }
  }
}
Succesfully round-tripped Building:

{
  "Id": "building1",
  "tag": "tag1",
  "Metadata": {
    "Type": 0,
    "IsAttached": true,
    "Model": "model1",
    "PropertyMetadata": {
      "propKey1": {
        "Value": "atomic value",
        "Version": 3,
        "backVersion": 2,
        "backCode": 10101,
        "Description": "description",
        "createTime": "9/19/2022"
      }
    }
  },
  "Model": "model1",
  "Properties": {
    "foo": "atomic value"
  },
  "Components": {
    "foo": {
      "Metadata": {
        "Model": null,
        "PropertyMetadata": {}
      },
      "Model": null,
      "Properties": {},
      "Components": {}
    }
  }
}
Succesfully round-tripped Building:

{
  "Id": "building1",
  "tag": "tag1",
  "Metadata": {
    "Type": 0,
    "IsAttached": true,
    "Model": "model1",
    "PropertyMetadata": {
      "propKey1": {
        "Value": {
          "ccc": "",
          "ccc_file_name": "",
          "consent_id": "120266",
          "council_code": "DEMO",
          "date_cccissued": null,
          "date_granted": null,
          "date_issued": null,
          "date_lodged": "2012-05-03T00:00:00",
          "days_inactive": null,
          "days_live": null,
          "days_suspended": null,
          "form6_received": null,
          "inspections": "In Progress",
          "issued": "",
          "last_updated": null,
          "lodged": "Accepted",
          "processing": "",
          "rfis": "Pending"
        },
        "Version": 3,
        "backVersion": 2,
        "backCode": 10101,
        "Description": "description",
        "createTime": "9/19/2022"
      }
    }
  },
  "Model": "model1",
  "Properties": {
    "foo": {
      "ccc": "",
      "ccc_file_name": "",
      "consent_id": "120266",
      "council_code": "DEMO",
      "date_cccissued": null,
      "date_granted": null,
      "date_issued": null,
      "date_lodged": "2012-05-03T00:00:00",
      "days_inactive": null,
      "days_live": null,
      "days_suspended": null,
      "form6_received": null,
      "inspections": "In Progress",
      "issued": "",
      "last_updated": null,
      "lodged": "Accepted",
      "processing": "",
      "rfis": "Pending"
    }
  },
  "Components": {
    "foo": {
      "Metadata": {
        "Model": null,
        "PropertyMetadata": {}
      },
      "Model": null,
      "Properties": {},
      "Components": {}
    }
  }
}
Cached Result
Last Run: 6:20:21 pm
Compile: 0.051s
Execute: 0.32s
Memory: 24.47Mb
CPU: 0.371s