Goodness, I didn't mean for the answer to shame or humble you! :-)
There was nothing wrong with the question, just wanted to show a way to
track down the answer.
-Mike
> Slightly ashamed.
> Very good answer, I'm humbled. Thank you.
> > Well, JSON is just a notation. Once you evaluate it, it's
Slightly ashamed.
Very good answer, I'm humbled. Thank you.
Andreas
>
> Well, JSON is just a notation. Once you evaluate it, it's not JSON
> any more.
> It's a JavaScript object. It doesn't matter whether the object
> started out
> as JSON notation, or was built up using other JavaScript code
Andreas Wahlin wrote:
> I suppose this touches on off topic, but ... is it possible to remove
> an entry completely from a JSON hash?
>
> say I have
> {
> firstString: 'first',
> secondString: 'second'
> }
>
> and evaluate this into a json object, and I want to remove
> firstString, could I do
> > I suppose this touches on off topic, but ... is it possible
> > to remove an entry completely from a JSON hash?
> >
> > say I have
> > {
> > firstString: 'first',
> > secondString: 'second'
> > }
> >
> > and evaluate this into a json object, and I want to remove
> > firstString, could I do so
On 15/12/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
> I suppose this touches on off topic, but ... is it possible to remove
> an entry completely from a JSON hash?
>
> say I have
> {
> firstString: 'first',
> secondString: 'second'
> }
>
> and evaluate this into a json object, and I want to remo
> I suppose this touches on off topic, but ... is it possible
> to remove an entry completely from a JSON hash?
>
> say I have
> {
> firstString: 'first',
> secondString: 'second'
> }
>
> and evaluate this into a json object, and I want to remove
> firstString, could I do something like
> json
I suppose this touches on off topic, but ... is it possible to remove
an entry completely from a JSON hash?
say I have
{
firstString: 'first',
secondString: 'second'
}
and evaluate this into a json object, and I want to remove
firstString, could I do something like
json.remove(json.firstStrin