juju / persistent-cookiejar

cookiejar is a fork of net/http/cookiejar that allows serialisation of the stored cookies
BSD 3-Clause "New" or "Revised" License
112 stars 75 forks source link

Example Json structure? #33

Open wes-kay-stack opened 5 years ago

wes-kay-stack commented 5 years ago

Since Juju expects the cookies to be stored in JSON format. [domain] / [true or false] / [true or false] / [Epoch date/time] / [name] / [content] So it would be nice to view a structure that I can map to the var entries []Entrys.

OR if there's a current tool to export cookies in a readable format can we post that in the docs?