jx1.js 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. var objParse1 = {
  6. "Responses": [
  7. [
  8. 1,
  9. {
  10. "OperationId": 1,
  11. "StatusCode": 0,
  12. "RawCellStorageErrorCode": 0,
  13. "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
  14. "Cells": [
  15. {
  16. "OperationId": 1,
  17. "StatusCode": 0,
  18. "RawCellStorageErrorCode": 0,
  19. "RootCellId": null,
  20. "RevisionList": [
  21. {
  22. "BaseId": {
  23. "g": "00000000-0000-0000-0000-000000000000",
  24. "e": "0"
  25. },
  26. "Objects": [
  27. {
  28. "ClassId": 393220,
  29. "ObjectId": {
  30. "g": "a8ce83ba-2c75-4e95-8f4a-bdf8afea7955",
  31. "e": "1"
  32. },
  33. "Properties": [
  34. {
  35. "Key": 603986976,
  36. "Value": "{05f569d3-bf65-4e04-be83-df3225653c83}{1}"
  37. }
  38. ]
  39. },
  40. {
  41. "ClassId": 393221,
  42. "ObjectId": {
  43. "g": "05f569d3-bf65-4e04-be83-df3225653c83",
  44. "e": "1"
  45. },
  46. "Properties": [
  47. {
  48. "Key": 469770255,
  49. "Value": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx"
  50. }
  51. ]
  52. }
  53. ],
  54. "RootObjectDescriptors": [
  55. {
  56. "ObjectId": {
  57. "g": "a8ce83ba-2c75-4e95-8f4a-bdf8afea7955",
  58. "e": "1"
  59. },
  60. "RootId": {
  61. "g": "4a3717f8-1c14-49e7-9526-81d942de1741",
  62. "e": "1"
  63. }
  64. }
  65. ],
  66. "CellId": {
  67. "g": "23069e19-9218-5ae4-9815-d8ceaade97df",
  68. "e": "1"
  69. },
  70. "ClientKnowledge": "",
  71. "ContextId": {
  72. "g": "00000000-0000-0000-0000-000000000000",
  73. "e": "0"
  74. },
  75. "ExpectedLatestId": {
  76. "g": "00000000-0000-0000-0000-000000000000",
  77. "e": "0"
  78. },
  79. "FileId": null,
  80. "Id": {
  81. "g": "2dad085f-a475-460a-8534-44e5719eac68",
  82. "e": "1"
  83. },
  84. "RelativePath": null
  85. }
  86. ],
  87. "FileId": null,
  88. "CellId": {
  89. "g": "23069e19-9218-5ae4-9815-d8ceaade97df",
  90. "e": "1"
  91. },
  92. "ContextId": null
  93. },
  94. {
  95. "OperationId": 1,
  96. "StatusCode": 0,
  97. "RawCellStorageErrorCode": 0,
  98. "RootCellId": {
  99. "g": "2ff06604-dc04-4a48-8927-b815a9c04bbf",
  100. "e": "1"
  101. },
  102. "RevisionList": [
  103. {
  104. "BaseId": {
  105. "g": "00000000-0000-0000-0000-000000000000",
  106. "e": "0"
  107. },
  108. "Objects": [
  109. {
  110. "ClassId": 393223,
  111. "ObjectId": {
  112. "g": "74d07016-6776-4d3a-90fd-b79aad352e86",
  113. "e": "1"
  114. },
  115. "Properties": [
  116. {
  117. "Key": 469769577,
  118. "Value": "Word document"
  119. },
  120. {
  121. "Key": 469769406,
  122. "Value": "Blue"
  123. },
  124. {
  125. "Key": 603986976,
  126. "Value": "{8c4d960b-b606-49fa-abb3-658fb2f3d69d}{1}"
  127. }
  128. ]
  129. },
  130. {
  131. "ClassId": 393224,
  132. "ObjectId": {
  133. "g": "8c4d960b-b606-49fa-abb3-658fb2f3d69d",
  134. "e": "1"
  135. },
  136. "Properties": [
  137. {
  138. "Key": 738205027,
  139. "Value": "{cacf644b-b1b6-46a9-8ae0-141b6aefe575}{1}"
  140. }
  141. ]
  142. }
  143. ],
  144. "RootObjectDescriptors": [
  145. {
  146. "ObjectId": {
  147. "g": "74d07016-6776-4d3a-90fd-b79aad352e86",
  148. "e": "1"
  149. },
  150. "RootId": {
  151. "g": "4a3717f8-1c14-49e7-9526-81d942de1741",
  152. "e": "1"
  153. }
  154. }
  155. ],
  156. "CellId": {
  157. "g": "2ff06604-dc04-4a48-8927-b815a9c04bbf",
  158. "e": "1"
  159. },
  160. "ClientKnowledge": "",
  161. "ContextId": {
  162. "g": "00000000-0000-0000-0000-000000000000",
  163. "e": "0"
  164. },
  165. "ExpectedLatestId": {
  166. "g": "00000000-0000-0000-0000-000000000000",
  167. "e": "0"
  168. },
  169. "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
  170. "Id": {
  171. "g": "4a9f7045-dc48-4528-b0b9-85b8229a1080",
  172. "e": "1"
  173. },
  174. "RelativePath": null
  175. }
  176. ],
  177. "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
  178. "CellId": {
  179. "g": "2ff06604-dc04-4a48-8927-b815a9c04bbf",
  180. "e": "1"
  181. },
  182. "ContextId": null
  183. },
  184. {
  185. "OperationId": 1,
  186. "StatusCode": 0,
  187. "RawCellStorageErrorCode": 0,
  188. "RootCellId": null,
  189. "RevisionList": [
  190. {
  191. "BaseId": {
  192. "g": "00000000-0000-0000-0000-000000000000",
  193. "e": "0"
  194. },
  195. "Objects": [
  196. {
  197. "ClassId": 1179649,
  198. "ObjectId": {
  199. "g": "7d7f54cf-61df-44c3-8751-860aba6d04cc",
  200. "e": "1"
  201. },
  202. "Properties": [
  203. {
  204. "Key": 201341986,
  205. "Value": "1"
  206. },
  207. {
  208. "Key": 469769226,
  209. "Value": "Calibri,"
  210. },
  211. {
  212. "Key": 335557680,
  213. "Value": "276"
  214. },
  215. {
  216. "Key": 201341983,
  217. "Value": "0"
  218. },
  219. {
  220. "Key": 335557679,
  221. "Value": "0.2777778"
  222. },
  223. {
  224. "Key": 469775450,
  225. "Value": "Normal"
  226. },
  227. {
  228. "Key": 201340122,
  229. "Value": "2"
  230. },
  231. {
  232. "Key": 67122396,
  233. "Value": null
  234. }
  235. ]
  236. },
  237. {
  238. "ClassId": 1179649,
  239. "ObjectId": {
  240. "g": "ea2ebcd1-9d10-4987-a169-e21eeb5f0269",
  241. "e": "1"
  242. },
  243. "Properties": [
  244. {
  245. "Key": 201341986,
  246. "Value": "1"
  247. },
  248. {
  249. "Key": 469769226,
  250. "Value": "Calibri,"
  251. },
  252. {
  253. "Key": 469775450,
  254. "Value": "Default Paragraph Font"
  255. },
  256. {
  257. "Key": 201340122,
  258. "Value": "1"
  259. }
  260. ]
  261. },
  262. {
  263. "ClassId": 1179649,
  264. "ObjectId": {
  265. "g": "d6781be9-d582-43d1-b15c-104ba23aa712",
  266. "e": "1"
  267. },
  268. "Properties": [
  269. {
  270. "Key": 134224900,
  271. "Value": "true"
  272. },
  273. {
  274. "Key": 201341986,
  275. "Value": "0"
  276. },
  277. {
  278. "Key": 469769226,
  279. "Value": "Cambria,"
  280. },
  281. {
  282. "Key": 335551500,
  283. "Value": "9527094"
  284. },
  285. {
  286. "Key": 268442635,
  287. "Value": "28"
  288. },
  289. {
  290. "Key": 335557680,
  291. "Value": "276"
  292. },
  293. {
  294. "Key": 201341983,
  295. "Value": "0"
  296. },
  297. {
  298. "Key": 335557679,
  299. "Value": "0"
  300. },
  301. {
  302. "Key": 335557678,
  303. "Value": "0.6666667"
  304. },
  305. {
  306. "Key": 469775450,
  307. "Value": "heading 1"
  308. },
  309. {
  310. "Key": 201340122,
  311. "Value": "2"
  312. },
  313. {
  314. "Key": 67122396,
  315. "Value": null
  316. },
  317. {
  318. "Key": 469775498,
  319. "Value": "Normal"
  320. }
  321. ]
  322. },
  323. {
  324. "ClassId": 1179649,
  325. "ObjectId": {
  326. "g": "5cf928b1-0f72-4bdd-870d-2236e6792e7d",
  327. "e": "1"
  328. },
  329. "Properties": [
  330. {
  331. "Key": 134224900,
  332. "Value": "true"
  333. },
  334. {
  335. "Key": 201341986,
  336. "Value": "0"
  337. },
  338. {
  339. "Key": 469769226,
  340. "Value": "Cambria,"
  341. },
  342. {
  343. "Key": 335551500,
  344. "Value": "12419407"
  345. },
  346. {
  347. "Key": 268442635,
  348. "Value": "26"
  349. },
  350. {
  351. "Key": 335557680,
  352. "Value": "276"
  353. },
  354. {
  355. "Key": 201341983,
  356. "Value": "0"
  357. },
  358. {
  359. "Key": 335557679,
  360. "Value": "0"
  361. },
  362. {
  363. "Key": 335557678,
  364. "Value": "0.2777778"
  365. },
  366. {
  367. "Key": 469775450,
  368. "Value": "heading 2"
  369. },
  370. {
  371. "Key": 201340122,
  372. "Value": "2"
  373. },
  374. {
  375. "Key": 67122396,
  376. "Value": null
  377. },
  378. {
  379. "Key": 469775498,
  380. "Value": "Normal"
  381. }
  382. ]
  383. },
  384. {
  385. "ClassId": 1179649,
  386. "ObjectId": {
  387. "g": "51a3930e-931d-4ebb-89a8-75265de594bc",
  388. "e": "1"
  389. },
  390. "Properties": [
  391. {
  392. "Key": 134224900,
  393. "Value": "true"
  394. },
  395. {
  396. "Key": 201341986,
  397. "Value": "0"
  398. },
  399. {
  400. "Key": 469769226,
  401. "Value": "Cambria,"
  402. },
  403. {
  404. "Key": 335551500,
  405. "Value": "12419407"
  406. },
  407. {
  408. "Key": 335557680,
  409. "Value": "276"
  410. },
  411. {
  412. "Key": 201341983,
  413. "Value": "0"
  414. },
  415. {
  416. "Key": 335557679,
  417. "Value": "0"
  418. },
  419. {
  420. "Key": 335557678,
  421. "Value": "0.2777778"
  422. },
  423. {
  424. "Key": 469775450,
  425. "Value": "heading 3"
  426. },
  427. {
  428. "Key": 201340122,
  429. "Value": "2"
  430. },
  431. {
  432. "Key": 67122396,
  433. "Value": null
  434. },
  435. {
  436. "Key": 469775498,
  437. "Value": "Normal"
  438. }
  439. ]
  440. },
  441. {
  442. "ClassId": 1179649,
  443. "ObjectId": {
  444. "g": "39d3328a-9e75-4e37-b49f-3cd00d7de1e8",
  445. "e": "1"
  446. },
  447. "Properties": [
  448. {
  449. "Key": 134224900,
  450. "Value": "true"
  451. },
  452. {
  453. "Key": 134224901,
  454. "Value": "true"
  455. },
  456. {
  457. "Key": 201341986,
  458. "Value": "0"
  459. },
  460. {
  461. "Key": 469769226,
  462. "Value": "Cambria,"
  463. },
  464. {
  465. "Key": 335551500,
  466. "Value": "12419407"
  467. },
  468. {
  469. "Key": 335557680,
  470. "Value": "276"
  471. },
  472. {
  473. "Key": 201341983,
  474. "Value": "0"
  475. },
  476. {
  477. "Key": 335557679,
  478. "Value": "0"
  479. },
  480. {
  481. "Key": 335557678,
  482. "Value": "0.2777778"
  483. },
  484. {
  485. "Key": 469775450,
  486. "Value": "heading 4"
  487. },
  488. {
  489. "Key": 201340122,
  490. "Value": "2"
  491. },
  492. {
  493. "Key": 67122396,
  494. "Value": null
  495. },
  496. {
  497. "Key": 469775498,
  498. "Value": "Normal"
  499. }
  500. ]
  501. },
  502. {
  503. "ClassId": 1179649,
  504. "ObjectId": {
  505. "g": "6285f32d-20ed-4ca6-a480-3dfeec27386d",
  506. "e": "1"
  507. },
  508. "Properties": [
  509. {
  510. "Key": 201341986,
  511. "Value": "0"
  512. },
  513. {
  514. "Key": 469769226,
  515. "Value": "Cambria,"
  516. },
  517. {
  518. "Key": 335551500,
  519. "Value": "6307620"
  520. },
  521. {
  522. "Key": 335557680,
  523. "Value": "276"
  524. },
  525. {
  526. "Key": 201341983,
  527. "Value": "0"
  528. },
  529. {
  530. "Key": 335557679,
  531. "Value": "0"
  532. },
  533. {
  534. "Key": 335557678,
  535. "Value": "0.2777778"
  536. },
  537. {
  538. "Key": 469775450,
  539. "Value": "heading 5"
  540. },
  541. {
  542. "Key": 201340122,
  543. "Value": "2"
  544. },
  545. {
  546. "Key": 67122396,
  547. "Value": null
  548. },
  549. {
  550. "Key": 469775498,
  551. "Value": "Normal"
  552. }
  553. ]
  554. },
  555. {
  556. "ClassId": 1179649,
  557. "ObjectId": {
  558. "g": "150f2233-ad25-4be7-9c6c-218e17cef565",
  559. "e": "1"
  560. },
  561. "Properties": [
  562. {
  563. "Key": 134224901,
  564. "Value": "true"
  565. },
  566. {
  567. "Key": 201341986,
  568. "Value": "0"
  569. },
  570. {
  571. "Key": 469769226,
  572. "Value": "Cambria,"
  573. },
  574. {
  575. "Key": 335551500,
  576. "Value": "6307620"
  577. },
  578. {
  579. "Key": 335557680,
  580. "Value": "276"
  581. },
  582. {
  583. "Key": 201341983,
  584. "Value": "0"
  585. },
  586. {
  587. "Key": 335557679,
  588. "Value": "0"
  589. },
  590. {
  591. "Key": 335557678,
  592. "Value": "0.2777778"
  593. },
  594. {
  595. "Key": 469775450,
  596. "Value": "heading 6"
  597. },
  598. {
  599. "Key": 201340122,
  600. "Value": "2"
  601. },
  602. {
  603. "Key": 67122396,
  604. "Value": null
  605. },
  606. {
  607. "Key": 469775498,
  608. "Value": "Normal"
  609. }
  610. ]
  611. },
  612. {
  613. "ClassId": 1179649,
  614. "ObjectId": {
  615. "g": "a3e43aff-003b-487a-b422-2ccd2d63aa84",
  616. "e": "1"
  617. },
  618. "Properties": [
  619. {
  620. "Key": 134224901,
  621. "Value": "true"
  622. },
  623. {
  624. "Key": 201341986,
  625. "Value": "0"
  626. },
  627. {
  628. "Key": 469769226,
  629. "Value": "Cambria,"
  630. },
  631. {
  632. "Key": 335551500,
  633. "Value": "4210752"
  634. },
  635. {
  636. "Key": 335557680,
  637. "Value": "276"
  638. },
  639. {
  640. "Key": 201341983,
  641. "Value": "0"
  642. },
  643. {
  644. "Key": 335557679,
  645. "Value": "0"
  646. },
  647. {
  648. "Key": 335557678,
  649. "Value": "0.2777778"
  650. },
  651. {
  652. "Key": 469775450,
  653. "Value": "heading 7"
  654. },
  655. {
  656. "Key": 201340122,
  657. "Value": "2"
  658. },
  659. {
  660. "Key": 67122396,
  661. "Value": null
  662. },
  663. {
  664. "Key": 469775498,
  665. "Value": "Normal"
  666. }
  667. ]
  668. },
  669. {
  670. "ClassId": 1179649,
  671. "ObjectId": {
  672. "g": "850ab990-cbdb-4af6-99d6-01f93e141a97",
  673. "e": "1"
  674. },
  675. "Properties": [
  676. {
  677. "Key": 201341986,
  678. "Value": "0"
  679. },
  680. {
  681. "Key": 469769226,
  682. "Value": "Cambria,"
  683. },
  684. {
  685. "Key": 335551500,
  686. "Value": "4210752"
  687. },
  688. {
  689. "Key": 268442635,
  690. "Value": "20"
  691. },
  692. {
  693. "Key": 335557680,
  694. "Value": "276"
  695. },
  696. {
  697. "Key": 201341983,
  698. "Value": "0"
  699. },
  700. {
  701. "Key": 335557679,
  702. "Value": "0"
  703. },
  704. {
  705. "Key": 335557678,
  706. "Value": "0.2777778"
  707. },
  708. {
  709. "Key": 469775450,
  710. "Value": "heading 8"
  711. },
  712. {
  713. "Key": 201340122,
  714. "Value": "2"
  715. },
  716. {
  717. "Key": 67122396,
  718. "Value": null
  719. },
  720. {
  721. "Key": 469775498,
  722. "Value": "Normal"
  723. }
  724. ]
  725. },
  726. {
  727. "ClassId": 1179649,
  728. "ObjectId": {
  729. "g": "462f8e62-c9d5-41c8-b508-025a79a5ea20",
  730. "e": "1"
  731. },
  732. "Properties": [
  733. {
  734. "Key": 134224901,
  735. "Value": "true"
  736. },
  737. {
  738. "Key": 201341986,
  739. "Value": "0"
  740. },
  741. {
  742. "Key": 469769226,
  743. "Value": "Cambria,"
  744. },
  745. {
  746. "Key": 335551500,
  747. "Value": "4210752"
  748. },
  749. {
  750. "Key": 268442635,
  751. "Value": "20"
  752. },
  753. {
  754. "Key": 335557680,
  755. "Value": "276"
  756. },
  757. {
  758. "Key": 201341983,
  759. "Value": "0"
  760. },
  761. {
  762. "Key": 335557679,
  763. "Value": "0"
  764. },
  765. {
  766. "Key": 335557678,
  767. "Value": "0.2777778"
  768. },
  769. {
  770. "Key": 469775450,
  771. "Value": "heading 9"
  772. },
  773. {
  774. "Key": 201340122,
  775. "Value": "2"
  776. },
  777. {
  778. "Key": 67122396,
  779. "Value": null
  780. },
  781. {
  782. "Key": 469775498,
  783. "Value": "Normal"
  784. }
  785. ]
  786. },
  787. {
  788. "ClassId": 1179649,
  789. "ObjectId": {
  790. "g": "c105deef-cd07-407b-b78c-91e8c4c405d6",
  791. "e": "1"
  792. },
  793. "Properties": [
  794. {
  795. "Key": 201341986,
  796. "Value": "0"
  797. },
  798. {
  799. "Key": 469769226,
  800. "Value": "Cambria,"
  801. },
  802. {
  803. "Key": 335551500,
  804. "Value": "6108695"
  805. },
  806. {
  807. "Key": 268442635,
  808. "Value": "52"
  809. },
  810. {
  811. "Key": 335557680,
  812. "Value": "240"
  813. },
  814. {
  815. "Key": 201341983,
  816. "Value": "0"
  817. },
  818. {
  819. "Key": 335557679,
  820. "Value": "0.4166667"
  821. },
  822. {
  823. "Key": 469775450,
  824. "Value": "Title"
  825. },
  826. {
  827. "Key": 201340122,
  828. "Value": "2"
  829. },
  830. {
  831. "Key": 67122396,
  832. "Value": null
  833. },
  834. {
  835. "Key": 469775498,
  836. "Value": "Normal"
  837. }
  838. ]
  839. },
  840. {
  841. "ClassId": 1179649,
  842. "ObjectId": {
  843. "g": "893a175b-ab3a-4a8e-8504-0153969c2e2c",
  844. "e": "1"
  845. },
  846. "Properties": [
  847. {
  848. "Key": 134224901,
  849. "Value": "true"
  850. },
  851. {
  852. "Key": 201341986,
  853. "Value": "0"
  854. },
  855. {
  856. "Key": 469769226,
  857. "Value": "Cambria,"
  858. },
  859. {
  860. "Key": 335551500,
  861. "Value": "12419407"
  862. },
  863. {
  864. "Key": 268442635,
  865. "Value": "24"
  866. },
  867. {
  868. "Key": 335557680,
  869. "Value": "276"
  870. },
  871. {
  872. "Key": 201341983,
  873. "Value": "0"
  874. },
  875. {
  876. "Key": 335557679,
  877. "Value": "0.2777778"
  878. },
  879. {
  880. "Key": 469775450,
  881. "Value": "Subtitle"
  882. },
  883. {
  884. "Key": 201340122,
  885. "Value": "2"
  886. },
  887. {
  888. "Key": 67122396,
  889. "Value": null
  890. },
  891. {
  892. "Key": 469775498,
  893. "Value": "Normal"
  894. }
  895. ]
  896. },
  897. {
  898. "ClassId": 1179649,
  899. "ObjectId": {
  900. "g": "c03d38d9-ca76-478e-a084-c9fbb31e75b9",
  901. "e": "1"
  902. },
  903. "Properties": [
  904. {
  905. "Key": 134224901,
  906. "Value": "true"
  907. },
  908. {
  909. "Key": 201341986,
  910. "Value": "1"
  911. },
  912. {
  913. "Key": 469769226,
  914. "Value": "Calibri,"
  915. },
  916. {
  917. "Key": 335551500,
  918. "Value": "8421504"
  919. },
  920. {
  921. "Key": 469775450,
  922. "Value": "Subtle Emphasis"
  923. },
  924. {
  925. "Key": 201340122,
  926. "Value": "1"
  927. },
  928. {
  929. "Key": 67122396,
  930. "Value": null
  931. }
  932. ]
  933. },
  934. {
  935. "ClassId": 1179649,
  936. "ObjectId": {
  937. "g": "f3394b92-5929-46c0-985e-55fc704fe992",
  938. "e": "1"
  939. },
  940. "Properties": [
  941. {
  942. "Key": 134224901,
  943. "Value": "true"
  944. },
  945. {
  946. "Key": 201341986,
  947. "Value": "1"
  948. },
  949. {
  950. "Key": 469769226,
  951. "Value": "Calibri,"
  952. },
  953. {
  954. "Key": 469775450,
  955. "Value": "Emphasis"
  956. },
  957. {
  958. "Key": 201340122,
  959. "Value": "1"
  960. },
  961. {
  962. "Key": 67122396,
  963. "Value": null
  964. }
  965. ]
  966. },
  967. {
  968. "ClassId": 1179649,
  969. "ObjectId": {
  970. "g": "12d4fd7f-9f1e-41f3-985c-b1d9bf03afad",
  971. "e": "1"
  972. },
  973. "Properties": [
  974. {
  975. "Key": 134224900,
  976. "Value": "true"
  977. },
  978. {
  979. "Key": 134224901,
  980. "Value": "true"
  981. },
  982. {
  983. "Key": 201341986,
  984. "Value": "1"
  985. },
  986. {
  987. "Key": 469769226,
  988. "Value": "Calibri,"
  989. },
  990. {
  991. "Key": 335551500,
  992. "Value": "12419407"
  993. },
  994. {
  995. "Key": 469775450,
  996. "Value": "Intense Emphasis"
  997. },
  998. {
  999. "Key": 201340122,
  1000. "Value": "1"
  1001. },
  1002. {
  1003. "Key": 67122396,
  1004. "Value": null
  1005. }
  1006. ]
  1007. },
  1008. {
  1009. "ClassId": 1179649,
  1010. "ObjectId": {
  1011. "g": "57ca36eb-ccf4-45ea-9311-8bb5c9ad5c3f",
  1012. "e": "1"
  1013. },
  1014. "Properties": [
  1015. {
  1016. "Key": 134224900,
  1017. "Value": "true"
  1018. },
  1019. {
  1020. "Key": 201341986,
  1021. "Value": "1"
  1022. },
  1023. {
  1024. "Key": 469769226,
  1025. "Value": "Calibri,"
  1026. },
  1027. {
  1028. "Key": 469775450,
  1029. "Value": "Strong"
  1030. },
  1031. {
  1032. "Key": 201340122,
  1033. "Value": "1"
  1034. },
  1035. {
  1036. "Key": 67122396,
  1037. "Value": null
  1038. }
  1039. ]
  1040. },
  1041. {
  1042. "ClassId": 1179649,
  1043. "ObjectId": {
  1044. "g": "c993155f-d8b4-4605-9a5c-2795f3a8fb74",
  1045. "e": "1"
  1046. },
  1047. "Properties": [
  1048. {
  1049. "Key": 134224901,
  1050. "Value": "true"
  1051. },
  1052. {
  1053. "Key": 201341986,
  1054. "Value": "1"
  1055. },
  1056. {
  1057. "Key": 469769226,
  1058. "Value": "Calibri,"
  1059. },
  1060. {
  1061. "Key": 335551500,
  1062. "Value": "0"
  1063. },
  1064. {
  1065. "Key": 335557680,
  1066. "Value": "276"
  1067. },
  1068. {
  1069. "Key": 201341983,
  1070. "Value": "0"
  1071. },
  1072. {
  1073. "Key": 335557679,
  1074. "Value": "0.2777778"
  1075. },
  1076. {
  1077. "Key": 469775450,
  1078. "Value": "Quote"
  1079. },
  1080. {
  1081. "Key": 201340122,
  1082. "Value": "2"
  1083. },
  1084. {
  1085. "Key": 67122396,
  1086. "Value": null
  1087. },
  1088. {
  1089. "Key": 469775498,
  1090. "Value": "Normal"
  1091. }
  1092. ]
  1093. },
  1094. {
  1095. "ClassId": 1179649,
  1096. "ObjectId": {
  1097. "g": "b4817cf5-4991-4d36-b121-634759f0b67a",
  1098. "e": "1"
  1099. },
  1100. "Properties": [
  1101. {
  1102. "Key": 134224900,
  1103. "Value": "true"
  1104. },
  1105. {
  1106. "Key": 134224901,
  1107. "Value": "true"
  1108. },
  1109. {
  1110. "Key": 201341986,
  1111. "Value": "1"
  1112. },
  1113. {
  1114. "Key": 469769226,
  1115. "Value": "Calibri,"
  1116. },
  1117. {
  1118. "Key": 335551500,
  1119. "Value": "12419407"
  1120. },
  1121. {
  1122. "Key": 335559685,
  1123. "Value": "936"
  1124. },
  1125. {
  1126. "Key": 335557680,
  1127. "Value": "276"
  1128. },
  1129. {
  1130. "Key": 201341983,
  1131. "Value": "0"
  1132. },
  1133. {
  1134. "Key": 335557679,
  1135. "Value": "0.3888889"
  1136. },
  1137. {
  1138. "Key": 335557678,
  1139. "Value": "0.2777778"
  1140. },
  1141. {
  1142. "Key": 469775450,
  1143. "Value": "Intense Quote"
  1144. },
  1145. {
  1146. "Key": 201340122,
  1147. "Value": "2"
  1148. },
  1149. {
  1150. "Key": 67122396,
  1151. "Value": null
  1152. },
  1153. {
  1154. "Key": 469775498,
  1155. "Value": "Normal"
  1156. }
  1157. ]
  1158. },
  1159. {
  1160. "ClassId": 1179649,
  1161. "ObjectId": {
  1162. "g": "8ca1e26a-9876-42ca-af7c-2c27291a3948",
  1163. "e": "1"
  1164. },
  1165. "Properties": [
  1166. {
  1167. "Key": 134224902,
  1168. "Value": "true"
  1169. },
  1170. {
  1171. "Key": 201341986,
  1172. "Value": "1"
  1173. },
  1174. {
  1175. "Key": 469769226,
  1176. "Value": "Calibri,"
  1177. },
  1178. {
  1179. "Key": 335551500,
  1180. "Value": "5066944"
  1181. },
  1182. {
  1183. "Key": 469775450,
  1184. "Value": "Subtle Reference"
  1185. },
  1186. {
  1187. "Key": 201340122,
  1188. "Value": "1"
  1189. },
  1190. {
  1191. "Key": 67122396,
  1192. "Value": null
  1193. }
  1194. ]
  1195. },
  1196. {
  1197. "ClassId": 1179649,
  1198. "ObjectId": {
  1199. "g": "152744f2-b6a9-42b0-b9a2-dbfff727414b",
  1200. "e": "1"
  1201. },
  1202. "Properties": [
  1203. {
  1204. "Key": 134224900,
  1205. "Value": "true"
  1206. },
  1207. {
  1208. "Key": 134224902,
  1209. "Value": "true"
  1210. },
  1211. {
  1212. "Key": 201341986,
  1213. "Value": "1"
  1214. },
  1215. {
  1216. "Key": 469769226,
  1217. "Value": "Calibri,"
  1218. },
  1219. {
  1220. "Key": 335551500,
  1221. "Value": "5066944"
  1222. },
  1223. {
  1224. "Key": 469775450,
  1225. "Value": "Intense Reference"
  1226. },
  1227. {
  1228. "Key": 201340122,
  1229. "Value": "1"
  1230. },
  1231. {
  1232. "Key": 67122396,
  1233. "Value": null
  1234. }
  1235. ]
  1236. },
  1237. {
  1238. "ClassId": 1179649,
  1239. "ObjectId": {
  1240. "g": "c436dac6-a7ab-4a4e-9786-2709886cbc93",
  1241. "e": "1"
  1242. },
  1243. "Properties": [
  1244. {
  1245. "Key": 134224900,
  1246. "Value": "true"
  1247. },
  1248. {
  1249. "Key": 201341986,
  1250. "Value": "1"
  1251. },
  1252. {
  1253. "Key": 469769226,
  1254. "Value": "Calibri,"
  1255. },
  1256. {
  1257. "Key": 469775450,
  1258. "Value": "Book Title"
  1259. },
  1260. {
  1261. "Key": 201340122,
  1262. "Value": "1"
  1263. },
  1264. {
  1265. "Key": 67122396,
  1266. "Value": null
  1267. }
  1268. ]
  1269. },
  1270. {
  1271. "ClassId": 1179649,
  1272. "ObjectId": {
  1273. "g": "9bcc1d14-f201-459c-a895-aac0b96729d8",
  1274. "e": "1"
  1275. },
  1276. "Properties": [
  1277. {
  1278. "Key": 201341986,
  1279. "Value": "1"
  1280. },
  1281. {
  1282. "Key": 469769226,
  1283. "Value": "Calibri,"
  1284. },
  1285. {
  1286. "Key": 335559685,
  1287. "Value": "720"
  1288. },
  1289. {
  1290. "Key": 335557680,
  1291. "Value": "276"
  1292. },
  1293. {
  1294. "Key": 201341983,
  1295. "Value": "0"
  1296. },
  1297. {
  1298. "Key": 335557679,
  1299. "Value": "0.2777778"
  1300. },
  1301. {
  1302. "Key": 469775450,
  1303. "Value": "List Paragraph"
  1304. },
  1305. {
  1306. "Key": 201340122,
  1307. "Value": "2"
  1308. },
  1309. {
  1310. "Key": 67122396,
  1311. "Value": null
  1312. }
  1313. ]
  1314. },
  1315. {
  1316. "ClassId": 131073,
  1317. "ObjectId": {
  1318. "g": "b4bfac1c-fe46-4469-a1e1-93099643247c",
  1319. "e": "1"
  1320. },
  1321. "Properties": [
  1322. {
  1323. "Key": 201341986,
  1324. "Value": "1"
  1325. },
  1326. {
  1327. "Key": 469769226,
  1328. "Value": "Calibri,"
  1329. },
  1330. {
  1331. "Key": 268442635,
  1332. "Value": "22"
  1333. },
  1334. {
  1335. "Key": 335559704,
  1336. "Value": "1025"
  1337. },
  1338. {
  1339. "Key": 335559705,
  1340. "Value": "1033"
  1341. },
  1342. {
  1343. "Key": 335551547,
  1344. "Value": "1033"
  1345. }
  1346. ]
  1347. },
  1348. {
  1349. "ClassId": 131073,
  1350. "ObjectId": {
  1351. "g": "19da9b95-e49b-45c0-8c86-7831378f1f4e",
  1352. "e": "1"
  1353. },
  1354. "Properties": [
  1355. {
  1356. "Key": 201342987,
  1357. "Value": "0"
  1358. },
  1359. {
  1360. "Key": 335559695,
  1361. "Value": "1430385571"
  1362. },
  1363. {
  1364. "Key": 335559699,
  1365. "Value": "0"
  1366. }
  1367. ]
  1368. },
  1369. {
  1370. "ClassId": 393230,
  1371. "ObjectId": {
  1372. "g": "0367d782-d30c-4b32-bb45-c27e86f5f006",
  1373. "e": "1"
  1374. },
  1375. "Properties": [
  1376. {
  1377. "Key": 335559695,
  1378. "Value": "1430385571"
  1379. },
  1380. {
  1381. "Key": 469769250,
  1382. "Value": "Test doc for WAC"
  1383. },
  1384. {
  1385. "Key": 469769746,
  1386. "Value": ""
  1387. },
  1388. {
  1389. "Key": 469777415,
  1390. "Value": "1"
  1391. },
  1392. {
  1393. "Key": 603987475,
  1394. "Value": "{19da9b95-e49b-45c0-8c86-7831378f1f4e}{1}"
  1395. },
  1396. {
  1397. "Key": 134231261,
  1398. "Value": "true"
  1399. },
  1400. {
  1401. "Key": 603995164,
  1402. "Value": ""
  1403. }
  1404. ]
  1405. },
  1406. {
  1407. "ClassId": 393229,
  1408. "ObjectId": {
  1409. "g": "9f867c23-518d-4183-be09-ba1e3619da4b",
  1410. "e": "1"
  1411. },
  1412. "Properties": [
  1413. {
  1414. "Key": 603986975,
  1415. "Value": "{0367d782-d30c-4b32-bb45-c27e86f5f006}{1}"
  1416. }
  1417. ]
  1418. },
  1419. {
  1420. "ClassId": 393228,
  1421. "ObjectId": {
  1422. "g": "2467d7b7-5f5f-4947-9ef2-6e09091afe51",
  1423. "e": "1"
  1424. },
  1425. "Properties": [
  1426. {
  1427. "Key": 603986976,
  1428. "Value": "{9f867c23-518d-4183-be09-ba1e3619da4b}{1}"
  1429. },
  1430. {
  1431. "Key": 603995142,
  1432. "Value": ""
  1433. },
  1434. {
  1435. "Key": 536886290,
  1436. "Value": "{b4bfac1c-fe46-4469-a1e1-93099643247c}{1}"
  1437. },
  1438. {
  1439. "Key": 469777425,
  1440. "Value": ""
  1441. }
  1442. ]
  1443. },
  1444. {
  1445. "ClassId": 393227,
  1446. "ObjectId": {
  1447. "g": "4215ca2b-df37-4aaa-89ed-f1646178cd20",
  1448. "e": "1"
  1449. },
  1450. "Properties": [
  1451. {
  1452. "Key": 603986976,
  1453. "Value": "{2467d7b7-5f5f-4947-9ef2-6e09091afe51}{1}"
  1454. },
  1455. {
  1456. "Key": 603993304,
  1457. "Value": "{7d7f54cf-61df-44c3-8751-860aba6d04cc}{1},{d6781be9-d582-43d1-b15c-104ba23aa712}{1},{5cf928b1-0f72-4bdd-870d-2236e6792e7d}{1},{51a3930e-931d-4ebb-89a8-75265de594bc}{1},{39d3328a-9e75-4e37-b49f-3cd00d7de1e8}{1},{6285f32d-20ed-4ca6-a480-3dfeec27386d}{1},{150f2233-ad25-4be7-9c6c-218e17cef565}{1},{a3e43aff-003b-487a-b422-2ccd2d63aa84}{1},{850ab990-cbdb-4af6-99d6-01f93e141a97}{1},{462f8e62-c9d5-41c8-b508-025a79a5ea20}{1},{c105deef-cd07-407b-b78c-91e8c4c405d6}{1},{893a175b-ab3a-4a8e-8504-0153969c2e2c}{1},{c03d38d9-ca76-478e-a084-c9fbb31e75b9}{1},{f3394b92-5929-46c0-985e-55fc704fe992}{1},{12d4fd7f-9f1e-41f3-985c-b1d9bf03afad}{1},{57ca36eb-ccf4-45ea-9311-8bb5c9ad5c3f}{1},{c993155f-d8b4-4605-9a5c-2795f3a8fb74}{1},{b4817cf5-4991-4d36-b121-634759f0b67a}{1},{8ca1e26a-9876-42ca-af7c-2c27291a3948}{1},{152744f2-b6a9-42b0-b9a2-dbfff727414b}{1},{c436dac6-a7ab-4a4e-9786-2709886cbc93}{1},{9bcc1d14-f201-459c-a895-aac0b96729d8}{1},{ea2ebcd1-9d10-4987-a169-e21eeb5f0269}{1}"
  1458. },
  1459. {
  1460. "Key": 469777417,
  1461. "Value": "16777215,0,14806254,8210719,12419407,5066944,5880731,10642560,13020235,4626167,15921906,8421504,12769501,15849926,15853019,14408690,14545386,15523813,15986394,14281213,14277081,5855577,9878724,14857101,14994616,12040421,12379094,14270668,15261110,11851003,12566463,4210752,5474707,13929812,14136213,9737689,10213058,13083058,14470546,9420794,10921638,2500134,2769994,6108695,9527094,3421844,3969654,8014175,10191921,683235,8355711,855309,1055260,4072463,6307620,2303074,2646350,5321023,6772768,411543"
  1462. },
  1463. {
  1464. "Key": 469777422,
  1465. "Value": "L_ColorWhite L_ColorBlack L_ColorTan L_ColorDarkBlue L_ColorBlueGray L_ColorRed L_ColorOliveGreen L_ColorGalleryStandardColor10 L_ColorAqua L_ColorOrange L_ColorWhite L_ColorGray50 L_ColorTan L_ColorLightBlue L_ColorIceBlue L_ColorRose L_ColorLightGreen L_ColorLavender L_ColorSkyBlue L_ColorLightOrange L_ColorGray25 L_ColorGray80 L_ColorTan L_ColorLightBlue L_ColorIceBlue L_ColorRose L_ColorLightGreen L_ColorLavender L_ColorSkyBlue L_ColorLightOrange L_ColorGray25 L_ColorGray80 L_ColorBrown L_ColorBlue L_ColorIceBlue L_ColorRose L_ColorLightGreen L_ColorLavender L_ColorSkyBlue L_ColorLightOrange L_ColorGray50 L_ColorGray80 L_ColorBrown L_ColorDarkBlue L_ColorDarkBlue L_ColorRed L_ColorOliveGreen L_ColorDarkPurple L_ColorAqua L_ColorOrange L_ColorGray50 L_ColorBlack L_ColorBrown L_ColorDarkBlue L_ColorBlueGray L_ColorDarkRed L_ColorDarkGreen L_ColorDarkPurple L_ColorDarkTeal L_ColorBrown "
  1466. },
  1467. {
  1468. "Key": 469777440,
  1469. "Value": "Calibri\nCambria\nTimes New Roman"
  1470. },
  1471. {
  1472. "Key": 469777441,
  1473. "Value": "Cambria\nCalibri\n\n\n\n"
  1474. }
  1475. ]
  1476. },
  1477. {
  1478. "ClassId": 393271,
  1479. "ObjectId": {
  1480. "g": "ebadaff0-3c38-4601-8b7f-19b57761141e",
  1481. "e": "1"
  1482. },
  1483. "Properties": [
  1484. {
  1485. "Key": 603986975,
  1486. "Value": "{4215ca2b-df37-4aaa-89ed-f1646178cd20}{1}"
  1487. }
  1488. ]
  1489. }
  1490. ],
  1491. "RootObjectDescriptors": [
  1492. {
  1493. "ObjectId": {
  1494. "g": "ebadaff0-3c38-4601-8b7f-19b57761141e",
  1495. "e": "1"
  1496. },
  1497. "RootId": {
  1498. "g": "4a3717f8-1c14-49e7-9526-81d942de1741",
  1499. "e": "1"
  1500. }
  1501. }
  1502. ],
  1503. "CellId": {
  1504. "g": "cacf644b-b1b6-46a9-8ae0-141b6aefe575",
  1505. "e": "1"
  1506. },
  1507. "ClientKnowledge": "",
  1508. "ContextId": {
  1509. "g": "84defab9-aaa3-4a0d-a3a8-520c77ac7073",
  1510. "e": "1"
  1511. },
  1512. "ExpectedLatestId": {
  1513. "g": "00000000-0000-0000-0000-000000000000",
  1514. "e": "0"
  1515. },
  1516. "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
  1517. "Id": {
  1518. "g": "5b417ca6-79b9-4d8e-80da-a212f4439bf6",
  1519. "e": "1"
  1520. },
  1521. "RelativePath": null
  1522. }
  1523. ],
  1524. "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
  1525. "CellId": {
  1526. "g": "cacf644b-b1b6-46a9-8ae0-141b6aefe575",
  1527. "e": "1"
  1528. },
  1529. "ContextId": null
  1530. }
  1531. ]
  1532. }
  1533. ]
  1534. ]
  1535. }
  1536. var objParse2 = { "Responses": [[4, { "Errors": [], "Suggestions": []}]] }
  1537. var objParse3 = { "Responses": [[4, { "Errors": [{ "Offset": 0, "Word": "agaTest", "Type": 1}], "Suggestions": [{ "Key": "agaTest", "Value": ["agates"]}]}]] }
  1538. // objects to parse get out of stringified
  1539. sobjParse1 = JSON.stringify(objParse1);
  1540. write("");
  1541. write("----First object parsed : ")
  1542. write(sobjParse1);
  1543. sobjParse2 = JSON.stringify(objParse2);
  1544. write("");
  1545. write("----Second object parsed : ")
  1546. write(sobjParse2);
  1547. sobjParse3 = JSON.stringify(objParse3);
  1548. write("");
  1549. write("----Third object parsed : ")
  1550. write(sobjParse3);
  1551. write("");
  1552. write("");
  1553. //objects to stringify
  1554. var str1 = { "Mode": 2, "srs": [[1, { "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx", "BrowserId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 1 }, "OperationId": 1}]] }
  1555. var str2 = { "Mode": 2, "srs": [[4, { "Input": "t doc for WAC", "Lcid": 1033}]] }
  1556. var str3 = { "Mode": 2, "srs": [[3, { "BrowserId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 1 }, "IsPersistedSave": false, "Revision": { "Id": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 10 }, "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx", "RelativePath": null, "CellId": { "g": "a939d9c0-bab4-4ad9-9609-7fc0a02c4134", "e": 1 }, "ContextId": { "g": "00000000-0000-0000-0000-000000000000", "e": 0 }, "ExpectedLatestId": { "g": "9063af89-fcd6-46aa-9738-c1b873b644c8", "e": 1 }, "ClientKnowledge": null, "BaseId": { "g": "9063af89-fcd6-46aa-9738-c1b873b644c8", "e": 1 }, "RootObjectDescriptors": [{ "ObjectId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 8 }, "RootId": { "g": "4a3717f8-1c14-49e7-9526-81d942de1741", "e": 4}}], "Objects": [{ "ObjectId": { "g": "af664396-2376-4994-83cb-cd2346f3326e", "e": 1 }, "Properties": [{ "Key": 335559695, "Value": "1430385571" }, { "Key": 469769250, "Value": "agaTest doc for WAC" }, { "Key": 469777415, "Value": "1" }, { "Key": 603987475, "Value": "{25e52e43-a78f-438f-8c0d-9d46126c3621}{1}" }, { "Key": 469769746, "Value": "" }, { "Key": 469777416, "Value": "1" }, { "Key": 469777418, "Value": "0" }, { "Key": 603995148, "Value": "{00000000-0000-0000-0000-000000000000}{0}" }, { "Key": 603995172, "Value": "{00000000-0000-0000-0000-000000000000}{0}"}], "ClassId": 393230 }, { "ObjectId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 9 }, "Properties": [{ "Key": 469769589, "Value": "cbarsan"}], "ClassId": 1179649 }, { "ObjectId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 8 }, "Properties": [{ "Key": 536878457, "Value": "{62c3409f-aefd-42e1-8009-e9072dad8c65}{9}" }, { "Key": 402660727, "Value": "1257235713598"}], "ClassId": 131140}] }, "ExpectedLatestId": { "g": "9063af89-fcd6-46aa-9738-c1b873b644c8", "e": 1 }, "OperationId": 1}]] }
  1557. var str4 = { "Mode": 2, "srs": [[4, { "Input": "agaTest doc for WAC", "Lcid": 1033}]] }
  1558. var str5 = { "Responses": [[3, { "OperationId": 1, "StatusCode": 0, "RawCellStorageErrorCode": 0, "ClientKnowledge": "", "LockSuccess": false, "IsConflict": false}]] }
  1559. var s1 = JSON.stringify(str1);
  1560. write("");
  1561. write("----First stringified object and parsed back : ")
  1562. var s1a = JSON.stringify(JSON.parse(s1));
  1563. if (s1a != s1) {
  1564. write("objects not equal");
  1565. }
  1566. write(s1a);
  1567. var s2 = JSON.stringify(str2);
  1568. write("");
  1569. write("----Second stringified object and parsed back : ")
  1570. var s2a = JSON.stringify(JSON.parse(s2));
  1571. if (s2a != s2) {
  1572. write("objects not equal");
  1573. }
  1574. write(s2a);
  1575. var s3 = JSON.stringify(str3);
  1576. write("");
  1577. write("----Third stringified object and parsed back : ")
  1578. var s3a = JSON.stringify(JSON.parse(s3));
  1579. if (s3a != s3) {
  1580. write("objects not equal");
  1581. }
  1582. write(s3a);
  1583. var s4 = JSON.stringify(str4);
  1584. write("");
  1585. write("----Forth stringified object and parsed back : ")
  1586. var s4a = JSON.stringify(JSON.parse(s4));
  1587. if (s4a != s4) {
  1588. write("objects not equal");
  1589. }
  1590. write(s4a);
  1591. var s5 = JSON.stringify(str5);
  1592. write("");
  1593. write("----Fifth stringified object and parsed back : ")
  1594. var s5a = JSON.stringify(JSON.parse(s5));
  1595. if (s5a != s5) {
  1596. write("objects not equal");
  1597. }
  1598. write(s5a);
  1599. //uncomment this for perf timming
  1600. //var start = new Date();
  1601. //for (var i = 0; i < 100; i++) {
  1602. // JSON.parse(sobjParse1);
  1603. // JSON.parse(sobjParse2);
  1604. // JSON.parse(sobjParse3);
  1605. // var s1 = JSON.stringify(str1);
  1606. // JSON.parse(s1);
  1607. // var s2 = JSON.stringify(str2);
  1608. // JSON.parse(s2);
  1609. // var s3 = JSON.stringify(str3);
  1610. // JSON.parse(s3);
  1611. // var s4 = JSON.stringify(str4);
  1612. // JSON.parse(s4);
  1613. // var s5 = JSON.stringify(str5);
  1614. // JSON.parse(s5);
  1615. //}
  1616. //var end = new Date();
  1617. //write("JSON time: " + (end - start));
  1618. //var sobj;
  1619. //var objParsed;
  1620. //var sobjRe;
  1621. //sobj = JSON.stringify(objParse1, null, 4);
  1622. //var start = new Date();
  1623. //for (var i = 0; i < 100; i++) {
  1624. // objParsed = JSON.parse(sobj);
  1625. // sobjRe = JSON.stringify(objParsed);
  1626. // if (sobj == sobjRe) {
  1627. // write("!!!! no equal")
  1628. // }
  1629. //}
  1630. //var end = new Date();
  1631. //write("JSON time1: " + (end - start));
  1632. function write(a) {
  1633. if (this.WScript == undefined) {
  1634. document.write(a);
  1635. document.write("\n");
  1636. }
  1637. else
  1638. WScript.Echo(a)
  1639. }