And comments aren't allowed in json either.

I think this is valid [1] Try with it.

https://pastee.org/t3m6u

Saludos,

-- luismiguel  (@lmorillas)


2016-03-31 16:22 GMT+02:00 David Karger <kar...@mit.edu>:
> single  quotes aren't allowed in json.
>
> http://stackoverflow.com/questions/2275359/jquery-single-quote-in-json-response
>
>
> On 3/31/2016 9:33 AM, KayC wrote:
>
> Here are the first few, and closing lines of my json.  all I can see as
> cause of the lint error is taht I'm using single quotes not double quotes as
> online examples of json show. ??
>
> {
>
>
>
> 'events':
>
> //The different repeat contributors will each have a distinct color for
>
> // the text on the timeline so they standout.
>
> // see http://www.simile-widgets.org/wiki/Timeline_EventSources for doc'n
>
> //                   #RRGGBB  (00-ff for values of each)
>
> // Shiller's color =         #721d8e   old=ff0000
>
> // Easterling's color =     #b22222
>
> // Kitces's color =         #0000FF
>
> // Pfau's color =         #238020
>
> // Tomlinson's color =         #f00FFF
>
> // Conheady's color =           #A59B19
>
> // Short's color = #7e3f12
>
> // P/B's color = #000000
>
> // Hussman color = #61b329
> // Montier = ???
>
> // ***BROWSING TIP*** color = #ff0000
>
>
> //Themes...
> //sources of return
>
> //forecasting
> //asset allocation
> //retirement planning
> //critique
> //defense
> //new metric
> [       //copy and past to create next entry...
>
> //
>     {'start':     "dummy for next event",
>      'title':     "",
>      'link':     "",
>      'color':     "#58A0DC", // default color
>      'caption':    "",
>      'description':    ""
>     },
>
> {'start':     "Apr 30 2016",
>     'durationEvent': "false",
>      'icon':
> "http://api.simile-widgets.org/timeline/2.3.1/images/dark-red-circle.png";,
>      'title':     "***BROWSING TIP***:  THE FIRST ENTRY IN THE TIMELINE IS
> IN 1934.  HOVER FOR MORE...",
>      'link':     "",
>      'color':     "#ff0000", // default color
>      'caption':    "USE THE '1934' HOTLINK ABOVE TO QUICKLY MOVE TO THAT
> ENTRY.",
>      'description':    "Website last updated 1/20/2016.  Timeline Navigation
> Tips: SLOW browsing: click-drag left/right in the grey area;  FASTER
> browsing: click-drag in the light green year (lower) band of the timeline;
> FASTEST browsing: click in the grey background and use the Page Up/Down
> buttons to move back/forward in time.  "
>     },
>
> //
>     {'start':     "Mar 28 2016",
>      'title':     "Hussman: Run-Of-The-Mill Outcomes...",
>      'link':     "http://hussmanfunds.com/wmc/wmc160328.htm";,
>      'color':     "#61b329", // default color
>      'caption':    "'...vs Worst-Case Scenarios' Hussman, in not so many
> words, is addressing recent critiques of the forecasting ability of
> valuation metrics like the P/E10 ratio.",
>      'description':    "WMC: Hussman adds this defense or valuation metrics
> to his others, countering the notion that historically reliable valuation
> metrics have recently not lived up to 'expectations' and are 'broken'.
> kw=forecasting, defense "
>     }
> ]
> }
>
> --
> You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to simile-widgets+unsubscr...@googlegroups.com.
> To post to this group, send email to simile-widgets@googlegroups.com.
> Visit this group at https://groups.google.com/group/simile-widgets.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to simile-widgets+unsubscr...@googlegroups.com.
> To post to this group, send email to simile-widgets@googlegroups.com.
> Visit this group at https://groups.google.com/group/simile-widgets.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to simile-widgets+unsubscr...@googlegroups.com.
To post to this group, send email to simile-widgets@googlegroups.com.
Visit this group at https://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to