anjlab/jj-flow

Default value

Closed this issue · 0 comments

It'll be good idea to add getting value by path with some default meaning.

For example,

let userType = jj(json, 'userType').stringOrDefault('customer');