maproulette / maproulette/maproulette-backend
Properties are stringified in API response
Open
Nobody has claimed this yet.
confirmed
quick-fix
- Dominant language
- Scala
- Stars
- 53
- Forks
- 39
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 12
Description
I have created task with some properties in their GeoJSON. When I access this task through the API, the properties seem to be "stringified". So I put these in:
"properties": {
"way_id": 348147035,
"identifier": "intersection_ways_buildings_v2_348147035"
}
And got these out:
"properties": {
"way_id": "348147035",
"identifier": "\"intersection_ways_buildings_v2_348147035\""
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the API response from the GeoJSON example and trace the API's response serialization for task properties. Done means numeric and string property values are returned with their original JSON types rather than being stringified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100