Azure / Azure/azure-functions-powershell-worker

Nested JSON Objects are Case Sensitive Hashtables

Open
#430 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
215
Forks
61
Avg merge
21h 4m
Merged PRs (30d)
6

Description

**Explanation:**
When parsing a nested object within the HTTP body of the request, the nested object is de-serialized as a case-sensitive hashtable in PowerShell. They top-level object is converted to a case-insensitive table, however nested object's aren't.

{
"nestedObject": {
"PropertyName": "TEST"
},
"id": 0,
"PropertyName": "TEST"
}

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing the HTTP-body deserialization with the nested JSON example in a PowerShell function, then trace the worker's request parsing entry point and compare top-level and nested property lookup. Done means nested object properties behave case-insensitively like the top-level object, with coverage for the provided example.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.