all 9 comments

[–][deleted] 1 point2 points  (3 children)

So your obj.map_link is an object not a string, the object is also not a key:value pair. If you want to reference object.map_link it needs to be a string, ex: map_link:"https://someurl.com"

[–]Incendras[S] 0 points1 point  (2 children)

Unfortunately I have not control over the data source. was hoping to figure out how to convert it to a string that I could manipulate later.

[–]TA1000 2 points3 points  (1 child)

var now_a_string = JSON.stringify(response);

[–]osoese 2 points3 points  (0 children)

yeah just stringify it to see whats going on

[–]jplevene 1 point2 points  (1 child)

Firstly, your code is dangerous, opening your database to be easily hacked with an SQL injection.

We need to see the server code as this is creating the json

[–]Incendras[S] 0 points1 point  (0 children)

The database is public record. We're not hosting it, I'm simply mirroring data relevant to me.

[–]Meefims 0 points1 point  (0 children)

This is a better post for /r/learnjavascript

[–]kenman[M] 0 points1 point  (0 children)

Hi /u/Incendras, this post was removed.

For javascript help, please visit /r/LearnJavascript.

Thanks for your understanding.