question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

json_extract not working on android

See original GitHub issue

I’m storing json data on a table and when running locally on on iOS it all works fine. But when trying to run on android, it crashes with the message no such function json_extract This is my query.

SELECT DISTINCT
	json_extract(geometry, '$.coordinates') as coordinates,
	json_extract(geometry, '$.type') as type,
	json_extract(properties, '$.track_line_id') as track_line_id
FROM features
WHERE json_extract(geometry, '$.type') LIKE '%String%'

Is the JSON1 extension not working on android?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
craftzdogcommented, Sep 26, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

json_extract for in android in flutter not working - Stack Overflow
The record is saved in JSON format, hence need JSON_EXTRACT query. I'm sure the query is correct as its working in iOS, but...
Read more >
Android Question sqlite "no such function" runtime error - B4X
SELECT tblUser.name From tblUser WHERE json_extract(tblUser.phone, ... but it would not work with : no such function json error.
Read more >
Finding Slack app messages in Android and using ...
Finding Slack app messages in Android and using json_extract to do it. Short version: The Slack app for Android keeps message related data ......
Read more >
JSON_EXTRACT not working for nested json data-mysql
[Solved]-JSON_EXTRACT not working for nested json data-mysql. Search. score:3. Accepted answer. That's not JSON data. It looks like a serialized PHP object.
Read more >
JSON Functions And Operators - SQLite
json_array_length(json,path); json_extract(json,path,. ... SQLite does not (currently) support a binary encoding of JSON.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found