简体   繁体   English

将 JSON 转换为可读格式

[英]Converting JSON into readable format

enter image description here在此处输入图像描述

I am trying to put the data in this array, into a readable format for my data tables.我正在尝试将这个数组中的数据放入我的数据表的可读格式中。 I have no clue how i'd solve this one.我不知道如何解决这个问题。 Any help is appreciated.任何帮助表示赞赏。

The only part of the array I want is the 'message' row.我想要的数组的唯一部分是“消息”行。

Looks like you skipped a few or more tutorials, but it's done like this:看起来你跳过了一些或更多的教程,但它是这样完成的:

$data = json_decode($yourJsonString, true);
var_dump($data['message']);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM