parse ipv6 address using json code example
Example: parse ipv6 address using json
$ curl 'https://api6.ipify.org?format=json'
{"ip":"2605:e000:1114:8f8:3455:624d:f2bd:e71e"}
$ curl 'https://api6.ipify.org?format=json'
{"ip":"2605:e000:1114:8f8:3455:624d:f2bd:e71e"}