[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: dot encoded string key
- From: Thijs Schreijer <thijs@...>
- Date: Fri, 08 Jun 2012 10:17:09 +0200
steve donovan <steve.j.donovan@gmail.com> schreef:
>On Thu, Jun 7, 2012 at 7:51 PM, Thijs Schreijer
><thijs@thijsschreijer.nl> wrote:
>> I made one as well once, and failed on numeric keys like this one;
>
>Ah, but then you would need to extend the meaning of 'path' like so
>'[1].two' (because '1.two' means t['1']['two'])
>
>Hidden in here is the potential for a XPath-like generalized notation,
>which could do simple conditional extraction.
>
>steve d.
Correct. Depends on how advanced the required solution needs to be. The point (which I left up to the reader) was that you'll quicky hit the general serialization issues in path traversals like this.
Thijs