Thank you! That did it. At one point I had tried using the numeric entity reference, but it displayed just that that string ( , ). Do you know if I can use numeric char references. I may need it for some characters?
Thank you again! Jose -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of eric miller Sent: Tuesday, August 31, 2010 3:41 PM To: [email protected] Subject: Re: [Simile-Widgets] Re: getting commas to show up On Aug 31, 2010, at 3:29 PM, Blanco, Jose wrote: > Not quite. Let me change my example: > > "test" : ["Life and times of John", "Day and night", "Fun, Sand and the > beach"], Try "test" : ["Life and times of John", "Day and night", "Fun\, Sand and the beach"], hope this helps, --eric > > The comma after Fun is part of the string I want to display. > > Thank you! > Jose > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of mleden > Sent: Tuesday, August 31, 2010 2:44 PM > To: SIMILE Widgets > Subject: [Simile-Widgets] Re: getting commas to show up > > Hi Jose, > > Maybe I'm missing the issue but this sounds like a data modeling > problem. If "C" and "D" represent unique representations of an > entity, should they not be handled as such in the array? That way, > you would structure your JSON as follows: > "test" : ["A", "B", "C", "D"] > > HTH, > -Mark > > > On Aug 31, 10:53 am, "Blanco, Jose" <[email protected]> wrote: >> I posted this question earlier, but did not hear back. Anyone have any >> ideas? >> >> In my json object I have this: >> >> "test" : ["A", "B", "C,D"], >> >> I'm having trouble getting C,D to show up. I've tried using the >> numeric entity reference for comma: >> >> "test" : ["A", "B", "C,D"], >> >> But then it shows up as C,D. >> >> So how do I get something like this to work? Can I not use numeric >> entity reference? What about if I want do display a character for >> which I need a numeric character reference? >> >> Thank you! >> Jose >> >> -- >> 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 >> athttp://groups.google.com/group/simile-widgets?hl=en. > > -- > 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. > > -- > 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. > -- 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. -- 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.
