examples for json and str