< d i v c l a s s = " a n n o u n c e i n s t a p a p e r _ b o d y M D " d a t a - p a t h = " R e a d m e . M D " i d = " r e a d m e " > < a r t i c l e c l a s s = " m a r k d o w n - b o d y e n t r y - c o n t e n t " i t e m p r o p = " t e x t " > < p > < a h r e f = " h t t p s : / / t r a v i s - c i . o r g / k o n d a u r o v - j s o n / j s o n _ g e n e r i c " t a r g e t = " _ b l a n k " > < i m g s r c = " h t t p s : / / c a m o . g i t h u b u s e r c o n t e n t . c o m / 0 0 7 e b 4 4 c d 2 c 4 e a c e 7 9 4 1 2 5 4 7 7 5 8 6 5 9 7 5 3 5 e e 8 d 6 2 / 6 8 7 4 7 4 7 0 7 3 3 a 2 f 2 f 7 4 7 2 6 1 7 6 6 9 7 3 2 d 6 3 6 9 2 e 6 f 7 2 6 7 2 f 6 b 6 f 6 e 6 4 6 1 7 5 7 2 6 f 7 6 2 d 6 a 7 3 6 f 6 e 2 f 6 a 7 3 6 f 6 e 5 f 6 7 6 5 6 e 6 5 7 2 6 9 6 3 2 e 7 3 7 6 6 7 3 f 6 2 7 2 6 1 6 e 6 3 6 8 3 d 6 d 6 1 7 3 7 4 6 5 7 2 " a l t = " B u i l d S t a t u s " d a t a - c a n o n i c a l - s r c = " h t t p s : / / t r a v i s - c i . o r g / k o n d a u r o v - j s o n / j s o n _ g e n e r i c . s v g ? b r a n c h = m a s t e r " s t y l e = " m a x - w i d t h : 1 0 0 % ; " > < / a > < a h r e f = " h t t p s : / / c o v e r a l l s . i o / g i t h u b / k o n d a u r o v - j s o n / j s o n _ g e n e r i c ? b r a n c h = m a s t e r " t a r g e t = " _ b l a n k " > < i m g s r c = " h t t p s : / / c a m o . g i t h u b u s e r c o n t e n t . c o m / 0 d 1 4 9 9 7 4 e 9 6 b 1 8 1 a f 2 3 f c 2 1 7 7 1 d 2 5 0 c f 6 d d 8 e 7 7 5 / 6 8 7 4 7 4 7 0 7 3 3 a 2 f 2 f 6 3 6 f 7 6 6 5 7 2 6 1 6 c 6 c 7 3 2 e 6 9 6 f 2 f 7 2 6 5 7 0 6 f 7 3 2 f 6 7 6 9 7 4 6 8 7 5 6 2 2 f 6 b 6 f 6 e 6 4 6 1 7 5 7 2 6 f 7 6 2 d 6 a 7 3 6 f 6 e 2 f 6 a 7 3 6 f 6 e 5 f 6 7 6 5 6 e 6 5 7 2 6 9 6 3 2 f 6 2 6 1 6 4 6 7 6 5 2 e 7 3 7 6 6 7 3 f 6 2 7 2 6 1 6 e 6 3 6 8 3 d 6 d 6 1 7 3 7 4 6 5 7 2 " a l t = " C o v e r a g e S t a t u s " d a t a - c a n o n i c a l - s r c = " h t t p s : / / c o v e r a l l s . i o / r e p o s / g i t h u b / k o n d a u r o v - j s o n / j s o n _ g e n e r i c / b a d g e . s v g ? b r a n c h = m a s t e r " s t y l e = " m a x - w i d t h : 1 0 0 % ; " > < / a > < a h r e f = " h t t p s : / / b i n t r a y . c o m / k o n d a u r o v d e v / m a v e n / j s o n _ g e n e r i c / _ l a t e s t V e r s i o n " t a r g e t = " _ b l a n k " > < i m g s r c = " h t t p s : / / c a m o . g i t h u b u s e r c o n t e n t . c o m / 8 7 9 d e 3 d 0 f 4 5 0 b 7 5 3 5 b 5 d 2 9 6 d 6 e 8 d b f 7 2 b 9 6 9 7 3 9 7 / 6 8 7 4 7 4 7 0 7 3 3 a 2 f 2 f 6 1 7 0 6 9 2 e 6 2 6 9 6 e 7 4 7 2 6 1 7 9 2 e 6 3 6 f 6 d 2 f 7 0 6 1 6 3 6 b 6 1 6 7 6 5 7 3 2 f 6 b 6 f 6 e 6 4 6 1 7 5 7 2 6 f 7 6 6 4 6 5 7 6 2 f 6 d 6 1 7 6 6 5 6 e 2 f 6 a 7 3 6 f 6 e 5 f 6 7 6 5 6 e 6 5 7 2 6 9 6 3 2 f 6 9 6 d 6 1 6 7 6 5 7 3 2 f 6 4 6 f 7 7 6 e 6 c 6 f 6 1 6 4 2 e 7 3 7 6 6 7 " a l t = " D o w n l o a d " d a t a - c a n o n i c a l - s r c = " h t t p s : / / a p i . b i n t r a y . c o m / p a c k a g e s / k o n d a u r o v d e v / m a v e n / j s o n _ g e n e r i c / i m a g e s / d o w n l o a d . s v g " s t y l e = " m a x - w i d t h : 1 0 0 % ; " > < / a > < / p > < p > T h i s p r o j e c t d e p e n d s o n p l a y - j s o n l i b r a r y < / p > < p > < a h r e f = " h t t p s : / / g i t h u b . c o m / p l a y f r a m e w o r k / p l a y - j s o n " t a r g e t = " _ b l a n k " > h t t p s : / / g i t h u b . c o m / p l a y f r a m e w o r k / p l a y - j s o n < / a > < / p > < p > H e r e i s t h e p u r p o s e : < / p > < p > W e h a v e t r a i t F o o a n d t w o c a s e c l a s s e s t h a t e x t e n d s t h a t t r a i t < / p > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - s c a l a " > < p r e > < s p a n c l a s s = " p l - k " > s e a l e d < / s p a n > < s p a n c l a s s = " p l - k " > t r a i t < / s p a n > < s p a n c l a s s = " p l - e n " > F o o < / s p a n > < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > B a r < / s p a n > ( < s p a n c l a s s = " p l - v " > i < / s p a n > : < s p a n c l a s s = " p l - k " > I n t < / s p a n > ) < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > F o o < / s p a n > < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > B a z < / s p a n > ( < s p a n c l a s s = " p l - v " > f < / s p a n > : < s p a n c l a s s = " p l - k " > F l o a t < / s p a n > ) < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > F o o < / s p a n > < / p r e > < / d i v > < p > W h a t i s j s o n r e p r e s e n t a t i o n o f B a r ? < / p > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - j s o n " > < p r e > { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > i < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 1 < / s p a n > } < / p r e > < / d i v > < p > W h a t ' s j s o n r e p r e s e n t a t i o n o f B a r w i t h t y p e ? < / p > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - j s o n " > < p r e > { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a r < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > i < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 1 < / s p a n > } } < / p r e > < / d i v > < p > < s t r o n g > N o t i c e : < / s t r o n g > T h e r e a r e s o m e l i b r a r i e s ( l i k e j s o n 4 s ) t h a t w o u l d p r e s e n t ' b a r ' l i k e : < / p > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - j s o n " > < p r e > { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > i < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 1 < / s p a n > , < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > $ t y p e < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a r < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > } < / p r e > < / d i v > < h 3 > < a i d = " u s e r - c o n t e n t - w h y - i - d o n t - l i k e - t y p e - a t t r i b u t e " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / k o n d a u r o v - j s o n / j s o n _ g e n e r i c # w h y - i - d o n t - l i k e - t y p e - a t t r i b u t e " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > W h y i d o n ' t l i k e $ t y p e a t t r i b u t e < / h 3 > < o l > < l i > I t ' s n o t o b v i o u s < / l i > < l i > I t ' s n o t g o n n a b e r e a d a b l e i f y o u c o m p o s e c o m p l e x c l a s s < / l i > < / o l > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - s c a l a " > < p r e > < s p a n c l a s s = " p l - k " > s e a l e d < / s p a n > < s p a n c l a s s = " p l - k " > t r a i t < / s p a n > < s p a n c l a s s = " p l - e n " > F o o < / s p a n > < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > B a r < / s p a n > ( < s p a n c l a s s = " p l - v " > i < / s p a n > : < s p a n c l a s s = " p l - k " > I n t < / s p a n > ) < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > F o o < / s p a n > < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > B a z < / s p a n > ( < s p a n c l a s s = " p l - v " > f < / s p a n > : < s p a n c l a s s = " p l - k " > F l o a t < / s p a n > ) < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > F o o < / s p a n > < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > C o m p l e x < / s p a n > ( < s p a n c l a s s = " p l - v " > f o o s < / s p a n > : < s p a n c l a s s = " p l - e n " > F o o < / s p a n > , < s p a n c l a s s = " p l - v " > f o o s L i s t < / s p a n > : < s p a n c l a s s = " p l - e n " > L i s t < / s p a n > [ < s p a n c l a s s = " p l - e n " > F o o < / s p a n > ] ) < / p r e > < / d i v > < p > J s o n r e p r e s e n t a t i o n o f C o m p l e x : < / p > < o l > < l i > C a s e w i t h " $ t y p e " < / l i > < / o l > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - j s o n " > < p r e > { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f o o < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 3 . 1 4 < / s p a n > , < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > $ t y p e < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a z < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > } , < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f o o s L i s t < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : [ { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > i < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 1 < / s p a n > , < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > $ t y p e < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a r < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > } , { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 3 . 1 4 < / s p a n > , < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > $ t y p e < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a z < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > } ] } < / p r e > < / d i v > < o l s t a r t = " 2 " > < l i > L e t ' s g e t r i d o f " $ t y p e " a n d m o v e i t a s r o o t p r o p e r t y : < / l i > < / o l > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - j s o n " > < p r e > { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f o o < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a z < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 3 . 1 4 < / s p a n > } } , < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f o o s L i s t < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : [ { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a r < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > i < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 1 < / s p a n > } , < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a z < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : { < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > f < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > : < s p a n c l a s s = " p l - c 1 " > 3 . 1 4 < / s p a n > } } ] } < / p r e > < / d i v > < h 3 > < a i d = " u s e r - c o n t e n t - h o w - t o - a c c o m p l i s h - t h i s - t a s k - w i t h - j s o n _ g e n e r i c " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / k o n d a u r o v - j s o n / j s o n _ g e n e r i c # h o w - t o - a c c o m p l i s h - t h i s - t a s k - w i t h - j s o n _ g e n e r i c " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > H o w t o a c c o m p l i s h t h i s t a s k w i t h j s o n _ g e n e r i c ? < / h 3 > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - s c a l a " > < p r e > < s p a n c l a s s = " p l - k " > i m p o r t < / s p a n > < s p a n c l a s s = " p l - v " > c o m . g i t h u b . k o n d a u r o v d e v . j s o n _ g e n e r i c . < / s p a n > < s p a n c l a s s = " p l - v " > _ < / s p a n > < s p a n c l a s s = " p l - k " > i m p o r t < / s p a n > < s p a n c l a s s = " p l - v " > p l a y . a p i . l i b s . j s o n . < / s p a n > < s p a n c l a s s = " p l - v " > _ < / s p a n > < s p a n c l a s s = " p l - k " > o b j e c t < / s p a n > < s p a n c l a s s = " p l - e n " > F o o < / s p a n > < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > i G e n e r i c < / s p a n > [ < s p a n c l a s s = " p l - e n " > F o o < / s p a n > ] { < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > a l l < / s p a n > < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - e n " > S t r e a m < / s p a n > ( < s p a n c l a s s = " p l - e n " > B a r < / s p a n > , < s p a n c l a s s = " p l - e n " > B a z < / s p a n > , < s p a n c l a s s = " p l - e n " > B a z 1 < / s p a n > ) } < s p a n c l a s s = " p l - k " > s e a l e d < / s p a n > < s p a n c l a s s = " p l - k " > t r a i t < / s p a n > < s p a n c l a s s = " p l - e n " > F o o < / s p a n > < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > i G e n e r i c C a s e < / s p a n > < s p a n c l a s s = " p l - k " > o b j e c t < / s p a n > < s p a n c l a s s = " p l - e n " > B a r < / s p a n > < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > i N o n E m p t y G e n e r i c < / s p a n > [ < s p a n c l a s s = " p l - e n " > B a r < / s p a n > ] { < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c N a m e < / s p a n > < s p a n c l a s s = " p l - k " > : < / s p a n > < s p a n c l a s s = " p l - k " > S t r i n g < / s p a n > < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a r < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c F o r m a t < / s p a n > < s p a n c l a s s = " p l - k " > : < / s p a n > < s p a n c l a s s = " p l - e n " > F o r m a t < / s p a n > [ < s p a n c l a s s = " p l - e n " > B a r < / s p a n > ] < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - e n " > J s o n < / s p a n > . f o r m a t [ < s p a n c l a s s = " p l - e n " > B a r < / s p a n > ] } < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > B a r < / s p a n > ( < s p a n c l a s s = " p l - v " > i < / s p a n > : < s p a n c l a s s = " p l - k " > I n t < / s p a n > ) < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > F o o < / s p a n > { < s p a n c l a s s = " p l - k " > d e f < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c < / s p a n > ( ) < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - e n " > B a r < / s p a n > } < s p a n c l a s s = " p l - k " > o b j e c t < / s p a n > < s p a n c l a s s = " p l - e n " > B a z < / s p a n > < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > i N o n E m p t y G e n e r i c < / s p a n > [ < s p a n c l a s s = " p l - e n " > B a z < / s p a n > ] { < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c N a m e < / s p a n > < s p a n c l a s s = " p l - k " > : < / s p a n > < s p a n c l a s s = " p l - k " > S t r i n g < / s p a n > < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a z < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c F o r m a t < / s p a n > < s p a n c l a s s = " p l - k " > : < / s p a n > < s p a n c l a s s = " p l - e n " > F o r m a t < / s p a n > [ < s p a n c l a s s = " p l - e n " > B a z < / s p a n > ] < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - e n " > J s o n < / s p a n > . f o r m a t [ < s p a n c l a s s = " p l - e n " > B a z < / s p a n > ] } < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > B a z < / s p a n > ( < s p a n c l a s s = " p l - v " > f < / s p a n > : < s p a n c l a s s = " p l - k " > F l o a t < / s p a n > ) < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > F o o < / s p a n > { < s p a n c l a s s = " p l - k " > d e f < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c < / s p a n > ( ) < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - e n " > B a z < / s p a n > } < s p a n c l a s s = " p l - k " > o b j e c t < / s p a n > < s p a n c l a s s = " p l - e n " > B a z 1 < / s p a n > < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > i E m p t y G e n e r i c < / s p a n > [ < s p a n c l a s s = " p l - e n " > B a z 1 < / s p a n > ] { < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c N a m e < / s p a n > < s p a n c l a s s = " p l - k " > : < / s p a n > < s p a n c l a s s = " p l - k " > S t r i n g < / s p a n > < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > b a r < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > < s p a n c l a s s = " p l - k " > d e f < / s p a n > < s p a n c l a s s = " p l - e n " > e m p t y G e n e r i c < / s p a n > ( ) < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - e n " > B a z 1 < / s p a n > ( ) } < s p a n c l a s s = " p l - k " > c a s e < / s p a n > < s p a n c l a s s = " p l - k " > c l a s s < / s p a n > < s p a n c l a s s = " p l - e n " > B a z 1 < / s p a n > ( ) < s p a n c l a s s = " p l - k " > e x t e n d s < / s p a n > < s p a n c l a s s = " p l - e " > F o o < / s p a n > { < s p a n c l a s s = " p l - k " > d e f < / s p a n > < s p a n c l a s s = " p l - e n " > g e n e r i c < / s p a n > ( ) < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - e n " > B a z < / s p a n > } < / p r e > < / d i v > < h 2 > < a i d = " u s e r - c o n t e n t - s o m e - c o d e - e x p l a n a i t i o n " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / k o n d a u r o v - j s o n / j s o n _ g e n e r i c # s o m e - c o d e - e x p l a n a i t i o n " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > S o m e c o d e e x p l a n a i t i o n < / h 2 > < p > T h e r e a r e t w o s t r a n g e t r a i t s : i N o n E m p t y G e n e r i c , i E m p t y G e n e r i c < / p > < p > U s e i N o n E m p t y G e n e r i c i f y o u h a v e p a r a m e t e r s i n c a s e c l a s s o r i E m p t y G e n e r i c o t h e r w i s e < / p > < h 2 > < a i d = " u s e r - c o n t e n t - l o o k - i n - s r c m a i n t e s t - f o r - o t h e r - e x a m p l e s " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / k o n d a u r o v - j s o n / j s o n _ g e n e r i c # l o o k - i n - s r c m a i n t e s t - f o r - o t h e r - e x a m p l e s " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > L o o k i n s r c / m a i n / t e s t f o r o t h e r e x a m p l e s < / h 2 > < / a r t i c l e > < / d i v >