成长值: 63415
|
Which option about JSON is true?
4 Q1 K o3 z" F; D0 e- E/ S5 @' n# I" p: Q
1 }9 l5 o" x+ ^4 B1 E2 ]/ kuses predefined tags or angle brackets (<>) to delimit markup text
' J& g& u, t3 G; a$ v8 F' Nused to describe structured data that includes arrays
* J' o1 x0 T) Y" f) @. C$ Sused for storing information
% s/ V h% z H3 f9 Psimilar to HTML, it is more verbose than XML
: ^/ T! Y3 @& d. T) @8 J
- G0 e9 N8 b. ]# a/ eCorrect Answer -
' W* }: W1 a$ z3 f# Y1 t* X% l8 l" o1 }! _# i& Z! r( M
Which of the following is the JSON encoding of a dictionary or hash?' ], J5 i. ^9 v
- z$ X# n. L* R3 [( h
/ d+ [ t8 O( e{ “key”: “value”}2 w: L4 y& C/ Q3 c5 _
[“key”, “value”]
" t) l' C' @6 |% m1 d" R{“key”, “value”}
* p5 ? a Q6 k+ t(“key”: “value”). [5 w4 _! Y$ t7 Z
" k5 \' l0 K6 ?1 l
# D( P$ [3 W/ A1 F7 P/ a; }# y5 r; i, d$ x% E, M1 O
Correct Answer -- Z* f; [! t# U/ q1 e
9 H* i0 I+ ^/ k' V2 F5 eWhich option best describes an API?
5 Z( u& m+ T' W1 a8 Y* z4 T2 P$ | A+ Q, T0 m( d5 B& l
& f1 A E9 n1 ]2 D6 T
A contract that describes how various components communicate and exchange data with each other.0 S d# `6 m! U l+ U' W9 E
an architectural style (versus a protocol) for designing applications
+ n" s- ~9 [, q% ~2 r& {' ba stateless client-server model
7 U& j: b% E5 b- {request a certain type of data by specifying the URL path that models the data
8 ~$ s8 ?1 v) f2 c5 S: f: u- ^- F8 ~* h( Z' b% a# G
Correct Answer ' b! p! x2 S! A: M4 d
8 D9 Y+ a. c0 u. S
( g2 P+ u+ j1 O, h1 M6 C I F7 c3 L+ `: P$ k! L' v8 M
8 m: I. h$ n0 ~# {+ G7 u, w! `1 |' {- i; N( i7 m3 Z& `$ Z
|
|