Skip to content

ServiceNow.Core

SNow.Core.Utils.JsonConverterOptions.GuidOption

JsonConverterOptions.GuidOption.GuidOption() Constructor

Handle ServiceNow Guid serialization, if it is an object like

csharp

business_service": {
   "link": "https://dev.service-now.com/api/now/table/cmdb_ci_service/ce02b8461b88f01030cb635bbc4bcb6d",
   "value": "ce02b8461b88f01030cb635bbc4bcb6d"
 }

it will read until it reaches "ce02b8461b88f01030cb635bbc4bcb6d" if it is an string it will read the value

csharp
public GuidOption();

Released under the MIT License.