F
F
Flopikpc2017-02-11 18:07:04
PHP
Flopikpc, 2017-02-11 18:07:04

Json array in PostgreSQL?

The server returned this JSON array

Array ( [status] => ok [results_time] => 0.0193 sec. [results_count] => 1 [results] => Array ( [0] => Array ( [login] => [email protected] [timezone] => Europe/Kiev
 [rate_limit_per_minute] => 1000 [rate] => 1 [credit] => 1000 [balance] => 200 [count_total] => 800 [count_rnk] => 0 [count_srp] => 0 [count_kwrd] => 800 [count_pg] => 0 [price] => Array ( [apiRnk] => Array ( [rnk_tasks_post] => Array ( [price_type] => per_result [price] => 1 ) ) [apiSrp] => Array ( [srp_100] => Array ( [price_type] => per_request [price] => 1 )
 [srp_tasks_get] => Array ( [price_type] => per_request [price] => 1 ) ) [apiKwrd] => Array ( [kwrd_for_domain] => Array ( [price_type] => per_request [price] => 100 ) [kwrd_sv] => Array ( [price_type] => per_result [price] => 5 ) ) ) ) ) )

How to put the data from it into PostgreSQL, so that later it can be displayed from the database on the page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex maslakoff, 2017-02-11
@Flopikpc

jsonb[] type

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question