We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser.php ==> toCsv():
foreach ($result as $row) { if ($count != 0) { $output .= "\r\n"; } $count++; $output .= implode(',', $row); // <== crashes on 2-nd iteration. }
[Catchable fatal error] Object of class stdClass could not be converted to string
Source.json
{ "testata": { "nomemercato": "Mercato di test", "data": "Giovedi 18 dicembre 2003 16.05.29" }, "record": [{ "codice_cliente": "5", "rag_soc": "Miami American Cafe", "codice_fiscale": "IT07654930130", "indirizzo": "Viale Carlo Espinasse 5, Como", "num_prodotti": "13" }, { "codice_cliente": "302", "rag_soc": "Filiberto Gilardi", "codice_fiscale": "IT87654770157", "indirizzo": "Via Biancospini 20, Messina", "num_prodotti": "8" }, { "codice_cliente": "1302", "rag_soc": "Eidon", "codice_fiscale": "IT887511231", "indirizzo": "Via Bassini 17\/2, Milano", "num_prodotti": "18" }, { "codice_cliente": "202", "rag_soc": "SkillNet", "codice_fiscale": "IT887642131", "indirizzo": "Via Chiasserini 11A, Milano", "num_prodotti": "24" }, { "codice_cliente": "12", "rag_soc": "Eidon", "codice_fiscale": "IT04835710965", "indirizzo": "Via Cignoli 17\/2, Roma", "num_prodotti": "1112" }, { "codice_cliente": "5", "rag_soc": "Miami American Cafe", "codice_fiscale": "IT07654930130", "indirizzo": "Viale Carlo Espinasse 5, Como", "num_prodotti": "13" }, { "codice_cliente": "302", "rag_soc": "Filiberto Gilardi", "codice_fiscale": "IT87654770157", "indirizzo": "Via Biancospini 20, Messina", "num_prodotti": "8" }, { "codice_cliente": "1302", "rag_soc": "Eidon", "codice_fiscale": "IT887511231", "indirizzo": "Via Bassini 17\/2, Milano", "num_prodotti": "18" }, { "codice_cliente": "202", "rag_soc": "SkillNet", "codice_fiscale": "IT887642131", "indirizzo": "Via Chiasserini 11A, Milano", "num_prodotti": "24" }, { "codice_cliente": "202", "rag_soc": "SkillNet", "codice_fiscale": "IT887642131", "indirizzo": "Via Chiasserini 11A, Milano", "num_prodotti": "24" }, { "codice_cliente": "12", "rag_soc": "Eidon", "codice_fiscale": "IT04835710965", "indirizzo": "Via Cignoli 17\/2, Roma", "num_prodotti": "1112" }] }
The text was updated successfully, but these errors were encountered:
@Jaspaul Same error :/
Sorry, something went wrong.
No branches or pull requests
Parser.php ==> toCsv():
Source.json
The text was updated successfully, but these errors were encountered: