|
|
请先登录
您需要 登录 才可以下载或查看,没有账号?论坛注册
x
Which option about JSON is true?
. c- y" E o- X7 l( r
) |% f/ X0 i+ F* V7 v
; r* @/ D: Y' x0 U/ X% F. e! Xuses predefined tags or angle brackets (<>) to delimit markup text( i8 O/ I5 B5 U8 r! ]
used to describe structured data that includes arrays' m4 N- J0 R8 I! Y4 \; e
used for storing information" h6 b' d* ^8 [. J( B* F' K& s( V
similar to HTML, it is more verbose than XML. r2 c8 S) I% K) ^! r
1 `. v6 u0 F% X5 ], a% ?$ M# a
Correct Answer -- z) S# Q$ V' U# V
, v* `! b& j6 E3 D
Which of the following is the JSON encoding of a dictionary or hash?9 b. o( i1 J g
/ y5 Q9 G- J5 \3 X1 ?$ h2 Z! G6 O7 _
{ “key”: “value”} A' q' \$ p9 Z) L
[“key”, “value”]: Y7 y1 a! q9 A& C; I- ~5 D% u+ F
{“key”, “value”}
' T) P+ M# b0 y1 H; ~ t* `(“key”: “value”)
9 G4 B* |. T* p8 U- l6 X* v/ L* f3 g% ]: r# d& A# Y4 z1 E% t
% E* Y4 U" I& E9 k
# s+ b f3 R8 `- J3 YCorrect Answer -5 z, O V5 d b, ? p& m4 R
( j5 w/ |9 u- }9 G TWhich option best describes an API?
( c. k% h3 ^# S! E) M
$ s' o$ ^' d$ u1 \+ H0 r; i
8 N& [8 _5 ^- G) Y2 {0 {A contract that describes how various components communicate and exchange data with each other.
. B! D3 j( F8 u8 J, }an architectural style (versus a protocol) for designing applications
+ \; M3 x* C6 i; xa stateless client-server model
$ @- ~! ~, w, J4 s( Crequest a certain type of data by specifying the URL path that models the data
F8 q3 C* U; Z { f; m* h ~4 C+ x& x0 Y; B4 w( I7 a! Z% r
Correct Answer
% B" u& f$ R3 K1 |! d4 Q/ Y
; v( Z! a/ | |' f6 h/ w! ?2 B8 Y6 F& B1 |8 {8 @; ~
c8 P" e7 m, }% a% r
( Y. i0 i, k- t+ A, L+ k
3 q6 c1 v, k" W c |
|