成长值: 65000
|
Which option about JSON is true?( @9 I: R7 x; O
2 s7 y Y9 C& L& W# O7 x: k
. c( E$ g; ^# M
uses predefined tags or angle brackets (<>) to delimit markup text6 r. J8 Q K3 l- C& v3 @
used to describe structured data that includes arrays1 `$ A2 Z) q$ ]* D' }9 [
used for storing information
9 H% y# `' L/ p6 wsimilar to HTML, it is more verbose than XML
5 t& B/ Z. A: ]$ } d* y
0 ~- `: n, m/ @5 ACorrect Answer -5 k1 @* T- R! q% P. F. t
8 }% ~0 X f+ }6 c; t/ l
Which of the following is the JSON encoding of a dictionary or hash?& ^2 O8 J0 d1 U2 b: C6 Z
8 R0 f, A4 e& @( d
$ I' I) I3 K/ L) v{ “key”: “value”}
& y& J9 |7 n1 C {7 b& T[“key”, “value”]
8 ?, p) t& M4 E3 n; z# L0 ~{“key”, “value”}" }" K& B3 r" P& Z; j8 R" k; N; }! y
(“key”: “value”): {7 }# `% S% F F: e
6 `% t8 L5 l2 C. S9 x! F4 ~2 A$ e9 B' @
5 h6 {, |9 B0 \7 fCorrect Answer -
' I+ m; z. H: g6 \2 N8 ^. L n
" `% H7 T9 S( [% Z, _Which option best describes an API?0 ?% b* _9 Q0 T/ g. Z5 b8 Y" F
9 L1 H; [" t6 k0 I3 ~
* _/ F d/ U' l. g, }
A contract that describes how various components communicate and exchange data with each other.7 D R7 r) C( b/ m, p
an architectural style (versus a protocol) for designing applications N$ g/ F! p0 i* {2 i5 P1 t
a stateless client-server model2 A* A8 n' B& P. R
request a certain type of data by specifying the URL path that models the data+ ~' `" u( ~' }1 ~2 E7 ] W3 l& v+ }
: v1 W2 B7 ?9 CCorrect Answer
6 X: s* S T) Q: I6 O. q7 m( o- a# W" [" l) i
# f% A7 [. e7 t& F* F. C/ p, K+ a M' Y
$ a2 H5 x) M" ]9 y
) F* `, j, q* ~! j$ C1 ^* j, k' `
|
|