jose2go: Index | Files

package compact

import ""

package compact provides function to work with json compact serialization format


Package Files


func Parse Uses

func Parse(token string) (result [][]byte, e error)

Parse splitting & decoding compact serialized json web token, returns slice of byte arrays, each representing part of token

func Serialize Uses

func Serialize(parts ...[]byte) string

Serialize converts given parts into compact serialization format

Package compact imports 2 packages (graph) and is imported by 5 packages. Updated 2016-07-31. Refresh now. Tools for package owners.