We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a65c448 commit 599b558Copy full SHA for 599b558
1 file changed
src/Scim/SimpleIdServer.Scim/SCIMSchemaExtractor.cs
@@ -16,7 +16,10 @@ public class SCIMSchemaExtractor
16
public static SCIMSchema Extract(string filePath, string resourceType, bool isRootSchema = false)
17
{
18
var content = File.ReadAllText(filePath);
19
- var jObj = JsonSerializer.Deserialize<JsonObject>(content);
+ var jObj = JsonSerializer.Deserialize<JsonObject>(content, new JsonSerializerOptions
20
+ {
21
+ ReadCommentHandling = JsonCommentHandling.Skip,
22
+ });
23
var builder = SCIMSchemaBuilder.Create(jObj[StandardSCIMRepresentationAttributes.Id].ToString(),
24
jObj[StandardSCIMRepresentationAttributes.Name].ToString(),
25
resourceType,
0 commit comments