Timeline for Parse REST Json replay
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 12, 2016 at 10:27 | vote | accept | Yuseferi | ||
Jun 3, 2016 at 8:15 | history | tweeted | twitter.com/StackDrupal/status/738645272025268224 | ||
Jun 1, 2016 at 12:51 | history | edited | Yuseferi | CC BY-SA 3.0 |
added 445 characters in body
|
Jun 1, 2016 at 12:49 | comment | added | Clive♦ |
You can still use that (or Json::decode which is in D8), but that will leave you with an associative array like it would in D7. The idea of the serializer is to map the json straight back onto a classed object which is much better to work with
|
|
Jun 1, 2016 at 12:45 | answer | added | Clive♦ | timeline score: 3 | |
Jun 1, 2016 at 12:45 | answer | added | David Mcsmith | timeline score: 1 | |
Jun 1, 2016 at 12:26 | comment | added | Yuseferi |
@Clive I tried but the same, I think I choose bad method to parse json to array in Drupal 8, in drupal 7 it was simple just json_decode .
|
|
Jun 1, 2016 at 12:23 | comment | added | Clive♦ |
It might not be the only problem, but '\Drupal\node\Entity\Node::class' isn't right...that would either be '\Drupal\node\Entity\Node' or \Drupal\node\Entity\Node::class (no quotes). The latter being preferred
|
|
Jun 1, 2016 at 12:10 | history | edited | Yuseferi | CC BY-SA 3.0 |
added 199 characters in body
|
Jun 1, 2016 at 12:03 | history | edited | Yuseferi | CC BY-SA 3.0 |
added 73 characters in body; edited title
|
Jun 1, 2016 at 11:50 | history | asked | Yuseferi | CC BY-SA 3.0 |