Thanks David that works.
I had my ExhibitMaker FileMaker database doing some clean up of the data
before sending it through XSLT to create the JSON files. This was replacing
quotes with a single quote and messing up the JSON array.


On Sat, Mar 28, 2009 at 8:12 PM, David Huynh <[email protected]> wrote:

>
> George Adams wrote:
> > How does one put multiple values in the JSON data so they show up in
> > facets as separate items?
> >
> > In the two fragments from a JSON file I would like to change "K-6" so
> > each of the individual grades will show up in a facet so someone
> > looking for schools that have second grades could be displayed. We
> > have preK-6, K-6, K-8, 2-8 and other combinations that don't work well
> > in facets if you just looking for an individual grade.
> > "Grades" : "["k";"1";"2";"3";"4";"5";"6"]",  isn't working.
> >
> > {
> > "items" :
> >   [
> >     {
> >
> >        "Address" : "615 Chatsworth St S St Paul, MN 55102",
> >        "Phone" : "(651) 298-1595",
> >        "Grades" : "K-6",
> >
> >
> >
> > {
> > "items" :
> >   [
> >     {
> >
> >        "Address" : "615 Chatsworth St S St Paul, MN 55102",
> >        "Phone" : "(651) 298-1595",
> >        "Grades" : "["k";"1";"2";"3";"4";"5";"6"]",
> Try
>     "Grades" : [ "k", "1", "2", "3", "4", "5", "6" ]
>
> David
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to