Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[
{
"id": 1,
"title": "post 1",
"tags": [
{
"text": "tag 1",
"pivot": {
"taggable_id": 1,
"tag_id": 1,
"taggable_type": "App\\Models\\Post"
}
},
{
"text": "cloud",
"pivot": {
"taggable_id": 1,
"tag_id": 2,
"taggable_type": "App\\Models\\Post"
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment