<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why do I get json parsing errors? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328232#M60920</link>
    <description>&lt;P&gt;Right!!! funny, it's an example from &lt;A href="https://www.sitepoint.com/google-maps-json-file/"&gt;Example Google Maps JSON File &lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me check it ; -) &lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2017 16:21:17 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2017-04-14T16:21:17Z</dc:date>
    <item>
      <title>Why do I get json parsing errors?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328230#M60918</link>
      <description>&lt;P&gt;I'm trying to add a data source which contains json data. The data is -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"markers": [
        {
            "point":new GLatLng(40.266044,-74.718479), 
            "homeTeam":"Lawrence Library",
            "awayTeam":"LUGip",
            "markerImage":"images/red.png",
            "information": "Linux users group meets second Wednesday of each month.",
            "fixture":"Wednesday 7pm",
            "capacity":"",
            "previousScore":""
        },
        {
            "point":new GLatLng(40.211600,-74.695702),
            "homeTeam":"Hamilton Library",
            "awayTeam":"LUGip HW SIG",
            "markerImage":"images/white.png",
            "information": "Linux users can meet the first Tuesday of the month to work out harward and configuration issues.",
            "fixture":"Tuesday 7pm",
            "capacity":"",
            "tv":""
        },
        {
            "point":new GLatLng(40.294535,-74.682012),
            "homeTeam":"Applebees",
            "awayTeam":"After LUPip Mtg Spot",
            "markerImage":"images/newcastle.png",
            "information": "Some of us go there after the main LUGip meeting, drink brews, and talk.",
            "fixture":"Wednesday whenever",
            "capacity":"2 to 4 pints",
            "tv":""
        },
] }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get the following errors - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;04-14-2017 10:17:22.960 -0500 ERROR JsonLineBreaker - JSON StreamId:0 had parsing error:Unexpected character while parsing l
iteral token: 'e' - data_source="/tmp/data3.json", data_host="&amp;lt;host&amp;gt;", data_sourcetype="_json"
04-14-2017 10:17:22.960 -0500 ERROR JsonLineBreaker - JSON StreamId:0 had parsing error:Unexpected character: ':' - data_sou
rce="/tmp/data3.json", data_host="&amp;lt;host&amp;gt;", data_sourcetype="_json"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What can it be?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 15:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328230#M60918</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-04-14T15:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get json parsing errors?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328231#M60919</link>
      <description>&lt;P&gt;The value of attribute &lt;CODE&gt;point&lt;/CODE&gt; should be in double quotes e.g. &lt;CODE&gt;new GLatLng(40.266044,-74.718479)&lt;/CODE&gt;. You can verify the format's correctness by online tools like &lt;A href="http://pro.jsonlint.com/"&gt;http://pro.jsonlint.com/&lt;/A&gt; .  Changing &lt;CODE&gt;"point":new GLatLng(40.266044,-74.718479),&lt;/CODE&gt;with &lt;CODE&gt;"point":"new GLatLng(40.266044,-74.718479)",&lt;/CODE&gt; will resolve the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328231#M60919</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-14T16:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get json parsing errors?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328232#M60920</link>
      <description>&lt;P&gt;Right!!! funny, it's an example from &lt;A href="https://www.sitepoint.com/google-maps-json-file/"&gt;Example Google Maps JSON File &lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me check it ; -) &lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:21:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328232#M60920</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-04-14T16:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I get json parsing errors?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328233#M60921</link>
      <description>&lt;P&gt;Perfect - can you please convert to an answer?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-get-json-parsing-errors/m-p/328233#M60921</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-04-14T16:24:57Z</dc:date>
    </item>
  </channel>
</rss>

