-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Labels
V2-Enhancementtype:breaking-changeAn issue that will result in dependent client projects failing.An issue that will result in dependent client projects failing.
Milestone
Description
Now that ParseNode is a wrapper around JSON Node and not YAML node we can improve performance for JSON documents by avoiding the YAML parser. We can only do this when we know that the input document is JSON.
To determine if we can parse the JSON directly we use the following heuristics:
- If the file path ends in ".json" we assume it is JSON content
- If the http URL ends in ".json" we assume it is JSON content
- If the HTTP request returns a response content type that is either "application/json" or ends in "+json" then we assume the content is JSON.
All string comparisons can be case insensitive.
Metadata
Metadata
Assignees
Labels
V2-Enhancementtype:breaking-changeAn issue that will result in dependent client projects failing.An issue that will result in dependent client projects failing.