I am running into some strange problem with php firebase implementation, i am using ktamas77/firebase-php and i would like to populate the record via a json doc. But it seems every time i try to insert a json doc via
$success = $firebase->set(1 . '/AwayTeam/' . '123456', $myJSON);
i see a format string in firebase db which looks like this
"{\"user_id\" : \"jack\", \"text\" : \"Ahoy!\"}"
what am i missing here ?