Here is a function return:
return response()->json(['aa'=>'bbb']);
and i print the function response ,the result like this:
JsonResponse {#186
#jsonOptions: 0
#data: "{"aa":"bbb"}"
#callback: null
#encodingOptions: 15
+headers: ResponseHeaderBag {#187
#computedCacheControl: array:1 [
"no-cache" => true
]
i have never seen it before,how can i get the value bbb
? thanks