JSON-Response with numeric "keys" Tagged: file, JSON, numeric, Object, workaround This topic contains 1 reply, has 1 voice, and was last updated by Guenther Schmitz 9 months, 3 weeks ago. Author Posts October 2, 2016 at 8:29 pm #54792 Guenther SchmitzParticipant hi! i am getting the following Json-Response and pipe it to this Export-CliXml Result. i then use 'Get-Content' to read that file and find the 'edittoken'-line like this. does anybody have an idea how this could be done without the workaround of making use of 'Export-CliXml'? the problem (as far as i understand it) is that PowerShell can not handle/work with the numeric object as "$WebRequestObject.query.pages.338" fails. KR Guenther October 3, 2016 at 4:23 pm #54832 Guenther SchmitzParticipant found a solution using the function "ConvertTo-HashtableFromPsCustomObject" from this blog entry: https://blogs.msdn.microsoft.com/timid/2013/03/05/converting-pscustomobject-tofrom-hashtables/ KR Guenther Author Posts You must be logged in to reply to this topic.