LINQKit icon indicating copy to clipboard operation
LINQKit copied to clipboard

JSON projection should support nested paths

Open chripf opened this issue 1 year ago • 0 comments

When using JSON projection for nested elements the Code is quite lenghty:

return t => {
      Field1 = t.JsonData.RootElement.GetProperty("outer").GetProperty("nested1").GetProperty("nested2").GetString()
}

This would read much nicer as

return t => {
      Field1 = t.JsonData.RootElement.GetProperty("outer.nested1.nested2").GetString()
}

chripf avatar Nov 22 '23 07:11 chripf