in reply to Re: the annoying keys "key" and "value"
in thread the annoying keys "key" and "value"
This pathological representation of a hash is in wide-spread use due to some idiotic standards adopted early in the history of XML. It shows up in Perl frequently when dealing with XML. In the most recent situation I've encountered, WordPress XML-RPC returns its custom fields in such a representation. There are even some WordPress XML-RPC libraries in some languages that require you to pass in an ordinary hash rather than this pathological (array of hashes) representation of a hash -- thereby hiding the pathology.
I was hoping to discover the generic name for this pathological hash representation to search for packages that specifically deal with it so as to hide the pathology.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: the annoying keys "key" and "value"
by LanX (Saint) on Dec 23, 2010 at 22:10 UTC | |
by jabowery (Beadle) on Dec 23, 2010 at 22:24 UTC | |
by Marshall (Canon) on Dec 23, 2010 at 22:48 UTC | |
by jabowery (Beadle) on Dec 23, 2010 at 23:07 UTC | |
by ikegami (Patriarch) on Dec 23, 2010 at 23:28 UTC | |
| |
by Marshall (Canon) on Dec 24, 2010 at 00:21 UTC | |
| |
by LanX (Saint) on Dec 23, 2010 at 23:23 UTC | |
|
Re^3: the annoying keys "key" and "value" (XML-RPC)
by LanX (Saint) on Dec 24, 2010 at 09:59 UTC | |
|
Re^3: the annoying keys "key" and "value"
by Anonymous Monk on Dec 23, 2010 at 23:34 UTC | |
by ikegami (Patriarch) on Dec 24, 2010 at 02:53 UTC | |
by Anonymous Monk on Dec 24, 2010 at 03:08 UTC | |
by ikegami (Patriarch) on Dec 24, 2010 at 03:40 UTC |