L9: JSON

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

L9: JSON

Marc Pinnell-3
Working with JSON for the first time in L9 and the docs are a little thin. I have been able to get close to what I need between the docs and Jono's article (). Here's what I am using:

local(toreturn = map('link:' = #returnFileName))
json_serialize(#toreturn)

which produces this:
{"link:": "/_images/_articles/129740643764148548.jpg"}

That's really close to what I need, which is:
{ link: '/_images/_articles/129740643764148548.jpg' }

Any help is appreciated!

marc


Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com



#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Marc Pinnell-3
Doh! Got done with the email and went back to my editor and noticed the colon... "Link:" >> "Link"

Works great now. Love how this list solves problems! :)

Marc


On Oct 21, 2014, at 5:54 PM, Marc Pinnell <[hidden email]> wrote:

> Working with JSON for the first time in L9 and the docs are a little thin. I have been able to get close to what I need between the docs and Jono's article (). Here's what I am using:
>
> local(toreturn = map('link:' = #returnFileName))
> json_serialize(#toreturn)
>
> which produces this:
> {"link:": "/_images/_articles/129740643764148548.jpg"}
>
> That's really close to what I need, which is:
> { link: '/_images/_articles/129740643764148548.jpg' }
>
> Any help is appreciated!
>
> marc
>
>
> Marc Pinnell
> 1027 Design
> PO Box 990872
> Redding, CA 96099-0872
> 530.941.4706
> fax: 866.232.5300
> www.1027Design.com
>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com



#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Jonathan Guthrie-3
On Oct 21, 2014, at 8:58 PM, Marc Pinnell <[hidden email]> wrote:
>
> Works great now. Love how this list solves problems! :)

We call that a Pilsonism :)

Jono

----------------------------
Jonathan Guthrie
[hidden email]
@iamjono
LassoSoft Inc.
AIM Chatroom: lassochat


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Jolle Carlestam-2
Wonder how many people on the list that remember Pilson? Maybe it's time to start calling it a Pinnellism?

HDB
Jolle

Sent from a mobile device. Any anomalies is due to Autocorrect.

> 22 okt 2014 kl. 03:22 skrev Jonathan Guthrie <[hidden email]>:
>
>> On Oct 21, 2014, at 8:58 PM, Marc Pinnell <[hidden email]> wrote:
>>
>> Works great now. Love how this list solves problems! :)
>
> We call that a Pilsonism :)
>
> Jono
>
> ----------------------------
> Jonathan Guthrie
> [hidden email]
> @iamjono
> LassoSoft Inc.
> AIM Chatroom: lassochat
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Marc Pinnell-3
:)


On Oct 21, 2014, at 11:22 PM, Jolle Carlestam <[hidden email]> wrote:

> Wonder how many people on the list that remember Pilson? Maybe it's time to start calling it a Pinnellism?
>
> HDB
> Jolle
>
> Sent from a mobile device. Any anomalies is due to Autocorrect.
>
>> 22 okt 2014 kl. 03:22 skrev Jonathan Guthrie <[hidden email]>:
>>
>>> On Oct 21, 2014, at 8:58 PM, Marc Pinnell <[hidden email]> wrote:
>>>
>>> Works great now. Love how this list solves problems! :)
>>
>> We call that a Pilsonism :)
>>
>> Jono
>>
>> ----------------------------
>> Jonathan Guthrie
>> [hidden email]
>> @iamjono
>> LassoSoft Inc.
>> AIM Chatroom: lassochat
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com



#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Alex Pilson-3
In reply to this post by Jolle Carlestam-2
Hehe, I am still here :)

On Oct 22, 2014, at 2:22 AM, Jolle Carlestam <[hidden email]> wrote:

> Wonder how many people on the list that remember Pilson? Maybe it's time to start calling it a Pinnellism?
>
> HDB
> Jolle
>
> Sent from a mobile device. Any anomalies is due to Autocorrect.
>
>> 22 okt 2014 kl. 03:22 skrev Jonathan Guthrie <[hidden email]>:
>>
>>> On Oct 21, 2014, at 8:58 PM, Marc Pinnell <[hidden email]> wrote:
>>>
>>> Works great now. Love how this list solves problems! :)
>>
>> We call that a Pilsonism :)
>>
>> Jono
>>
>> ----------------------------
>> Jonathan Guthrie
>> [hidden email]
>> @iamjono
>> LassoSoft Inc.
>> AIM Chatroom: lassochat
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

French, Shelane
It took me way too long to figure out that Pilsonism wasn't a real word.
:-)

On 10/22/14, 8:30 AM, "Alex Pilson" <[hidden email]> wrote:

Hehe, I am still here :)

On Oct 22, 2014, at 2:22 AM, Jolle Carlestam <[hidden email]> wrote:

> Wonder how many people on the list that remember Pilson? Maybe it's time
>to start calling it a Pinnellism?
>
> HDB
> Jolle
>
> Sent from a mobile device. Any anomalies is due to Autocorrect.
>
>> 22 okt 2014 kl. 03:22 skrev Jonathan Guthrie <[hidden email]>:
>>
>>> On Oct 21, 2014, at 8:58 PM, Marc Pinnell
>>><[hidden email]> wrote:
>>>
>>> Works great now. Love how this list solves problems! :)
>>
>> We call that a Pilsonism :)
>>
>> Jono
>>
>> ----------------------------
>> Jonathan Guthrie
>> [hidden email]
>> @iamjono
>> LassoSoft Inc.
>> AIM Chatroom: lassochat
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Rachel Guthrie
It's the stuff of legends and should be added to the urban dictionary for sure by now!

Rachel Guthrie



On Oct 22, 2014, at 11:40 AM, French, Shelane <[hidden email]> wrote:

> It took me way too long to figure out that Pilsonism wasn't a real word.
> :-)
>
> On 10/22/14, 8:30 AM, "Alex Pilson" <[hidden email]> wrote:
>
> Hehe, I am still here :)
>
> On Oct 22, 2014, at 2:22 AM, Jolle Carlestam <[hidden email]> wrote:
>
>> Wonder how many people on the list that remember Pilson? Maybe it's time
>> to start calling it a Pinnellism?
>>
>> HDB
>> Jolle
>>
>> Sent from a mobile device. Any anomalies is due to Autocorrect.
>>
>>> 22 okt 2014 kl. 03:22 skrev Jonathan Guthrie <[hidden email]>:
>>>
>>>> On Oct 21, 2014, at 8:58 PM, Marc Pinnell
>>>> <[hidden email]> wrote:
>>>>
>>>> Works great now. Love how this list solves problems! :)
>>>
>>> We call that a Pilsonism :)
>>>
>>> Jono
>>>
>>> ----------------------------
>>> Jonathan Guthrie
>>> [hidden email]
>>> @iamjono
>>> LassoSoft Inc.
>>> AIM Chatroom: lassochat
>>>
>>>
>>> #############################################################
>>>
>>> This message is sent to you because you are subscribed to
>>> the mailing list Lasso [hidden email]
>>> Official list archives available at http://www.lassotalk.com
>>> To unsubscribe, E-mail to: <[hidden email]>
>>> Send administrative queries to  <[hidden email]>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Carl Ketterling
When this was brought up a few days ago, I did a quick web search to see
what it meant ‹ no luck.  If someone wants to share the origin here, I would
be grateful.

Carl



From: Rachel Guthrie <[hidden email]>
Reply-To: <[hidden email]>
Date: Wed, 22 Oct 2014 11:58:44 -0400
To: LassoTalk List <[hidden email]>
Subject: Re: L9: JSON

It's the stuff of legends and should be added to the urban dictionary for
sure by now!

Rachel Guthrie



On Oct 22, 2014, at 11:40 AM, French, Shelane <[hidden email]> wrote:

> It took me way too long to figure out that Pilsonism wasn't a real word.
> :-)
>
> On 10/22/14, 8:30 AM, "Alex Pilson" <[hidden email]> wrote:
>
> Hehe, I am still here :)
>
> On Oct 22, 2014, at 2:22 AM, Jolle Carlestam <[hidden email]> wrote:
>
>> Wonder how many people on the list that remember Pilson? Maybe it's time
>> to start calling it a Pinnellism?
>>
>> HDB
>> Jolle
>>
>> Sent from a mobile device. Any anomalies is due to Autocorrect.
>>
>>> 22 okt 2014 kl. 03:22 skrev Jonathan Guthrie <[hidden email]>:
>>>
>>>> On Oct 21, 2014, at 8:58 PM, Marc Pinnell
>>>> <[hidden email]> wrote:
>>>>
>>>> Works great now. Love how this list solves problems! :)
>>>
>>> We call that a Pilsonism :)
>>>
>>> Jono
>>>
>>> ----------------------------
>>> Jonathan Guthrie
>>> [hidden email]
>>> @iamjono
>>> LassoSoft Inc.
>>> AIM Chatroom: lassochat
>>>
>>>
>>> #############################################################
>>>
>>> This message is sent to you because you are subscribed to
>>> the mailing list Lasso [hidden email]
>>> Official list archives available at http://www.lassotalk.com
>>> To unsubscribe, E-mail to: <[hidden email]>
>>> Send administrative queries to  <[hidden email]>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Jolle Carlestam-2
22 okt 2014 kl. 19:04 skrev Carl Ketterling <[hidden email]>:

> When this was brought up a few days ago, I did a quick web search to see
> what it meant ‹ no luck.  If someone wants to share the origin here, I would
> be grateful.

The legendary Alex Pilson posted a question to the list only too see the errors in his thinking in the exact same moment he hit send. So then had to send another message retracting the first.
Since that day this kind of act is called a Pilsonism.

Or so the legend says.

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Jolle Carlestam-2
22 okt 2014 kl. 19:08 skrev Jolle Carlestam <[hidden email]>:

> Or so the legend says.

I can find Pilsonism mentioned early 2007 in my own email archives. But it’s way older than that. I just don’t have the emails to prove it.

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Jonathan Guthrie-3
In reply to this post by Jolle Carlestam-2
Yeah it wasn't just a one time event either ;)

> On Oct 22, 2014, at 1:08 PM, Jolle Carlestam <[hidden email]> wrote:
>
> The legendary Alex Pilson posted a question to the list only too see the errors in his thinking in the exact same moment he hit send. So then had to send another message retracting the first.
> Since that day this kind of act is called a Pilsonism.
>
> Or so the legend says.

Jono

----------------------------
Jonathan Guthrie
[hidden email]
@iamjono
LassoSoft Inc.
AIM Chatroom: lassochat


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Jolle Carlestam-2
22 okt 2014 kl. 19:27 skrev Jonathan Guthrie <[hidden email]>:

> Yeah it wasn't just a one time event either ;)

So true, it takes perseverance, endurance, hard work and enormous stubbornness to get to name a term so well routed in the community as Pilsonism is. Only a true quicksender hero like Alex Pilson could make it happen.

The legend, the man, the Pilsonism

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Alex Pilson-3
Sounds like this could be an award at LDC. :)

On Oct 22, 2014, at 2:33 PM, Jolle Carlestam wrote:

> 22 okt 2014 kl. 19:27 skrev Jonathan Guthrie <[hidden email]>:
>
>> Yeah it wasn't just a one time event either ;)
>
> So true, it takes perseverance, endurance, hard work and enormous stubbornness to get to name a term so well routed in the community as Pilsonism is. Only a true quicksender hero like Alex Pilson could make it happen.
>
> The legend, the man, the Pilsonism
>
> HDB
> Jolle
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

Rachel Guthrie
You should come in 2015, you never know what can happen....
;)

Rachel

On Oct 22, 2014, at 2:42 PM, Alex Pilson <[hidden email]> wrote:

> Sounds like this could be an award at LDC. :)
>
> On Oct 22, 2014, at 2:33 PM, Jolle Carlestam wrote:
>
>> 22 okt 2014 kl. 19:27 skrev Jonathan Guthrie <[hidden email]>:
>>
>>> Yeah it wasn't just a one time event either ;)
>>
>> So true, it takes perseverance, endurance, hard work and enormous stubbornness to get to name a term so well routed in the community as Pilsonism is. Only a true quicksender hero like Alex Pilson could make it happen.
>>
>> The legend, the man, the Pilsonism
>>
>> HDB
>> Jolle
>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: L9: JSON

stevepiercy
In reply to this post by Jolle Carlestam-2
On 10/22/14 at 7:08 PM, [hidden email] (Jolle Carlestam) pronounced:

>22 okt 2014 kl. 19:04 skrev Carl Ketterling <[hidden email]>:
>
>>When this was brought up a few days ago, I did a quick web search to see
>>what it meant ‹ no luck.  If someone wants to share the origin here, I would
>>be grateful.
>
>The legendary Alex Pilson posted a question to the list only
>too see the errors in his thinking in the exact same moment he
>hit send. So then had to send another message retracting the first.
>Since that day this kind of act is called a Pilsonism.

See also, "rubber ducking".
https://en.wikipedia.org/wiki/Rubber_duck_debugging

Then sing along.
https://www.youtube.com/watch?v=Mh85R-S-dh8

--steve

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Steve Piercy              Website Builder              Soquel, CA
<[hidden email]>               <http://www.StevePiercy.com/>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>