Give the possibility to the SearchResult object as JSON #15
carlosmfnt
started this conversation in
Ideas
Replies: 1 comment
-
Feel free to send a PR for this 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm implementing this package, and I'm trying to use Vue.js to render the results, for which I need the data to be in JSON format, but when I try to
json_encode()
the SearchResult object, the Hits are returned empty, just like this:{"current_page":1,"data":[{},{},{},{},{},{},{},{},{},{}],"first_page_url":"\/?page=1","from":1,"next_page_url":"\/?page=2","path":"\/","per_page":10,"prev_page_url":null,"to":10}
I think it would be a great addition.
Beta Was this translation helpful? Give feedback.
All reactions