Skip to main content
Solved

Reading MongoDB collection

  • July 12, 2019
  • 1 reply
  • 22 views

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6

Hi all,

I am reading an MongoDB collection and write it to GeoJSON. It is generally working fine however it writes some backslashes out of some reason. As you can see in the images, for conditions value, I am getting this "\\". Any idea how can I get rid of them?

 

Best answer by jugoslaviaa

I found the problem. I should change the data type to json while writing. It was still string

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

jugoslaviaa
Enthusiast
Forum|alt.badge.img+6
  • Author
  • Enthusiast
  • Best Answer
  • July 12, 2019

I found the problem. I should change the data type to json while writing. It was still string