Skip to content

Commit 58b0531

Browse files
committed
Clean up Scala docs
1 parent 9501c73 commit 58b0531

File tree

3 files changed

+42
-42
lines changed
  • jsoniter-scala-core
    • js/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core
    • jvm/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core
    • native/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core

3 files changed

+42
-42
lines changed

jsoniter-scala-core/js/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/package.scala

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ package object core {
3838
/**
3939
* Deserialize JSON content encoded in UTF-8 from an input stream into a value of given `A` type.
4040
*
41-
* While it is less efficient than scanning JSON values from an input stream using pooled readers but it can be
41+
* While it is less efficient than scanning JSON values from an input stream using pooled readers, but it can be
4242
* safely used when a non-reentrant call is used in the same thread stack.
4343
*
4444
* @tparam A type of the value to parse
@@ -90,7 +90,7 @@ package object core {
9090
*
9191
* All parsed values will be passed to consuming function `f`.
9292
*
93-
* While it is less efficient than scanning JSON values from an input stream using pooled readers but it can be
93+
* While it is less efficient than scanning JSON values from an input stream using pooled readers, but it can be
9494
* safely used when a non-reentrant call is used in the same thread stack.
9595
*
9696
* @tparam A type of the value to parse
@@ -142,7 +142,7 @@ package object core {
142142
*
143143
* All parsed values will be passed to consuming function `f`.
144144
*
145-
* While it is less efficient than scanning JSON array from an input stream using pooled readers but it can be
145+
* While it is less efficient than scanning JSON array from an input stream using pooled readers, but it can be
146146
* safely used when a non-reentrant call is used in the same thread stack.
147147
*
148148
* @tparam A type of the value to parse
@@ -187,7 +187,7 @@ package object core {
187187
/**
188188
* Deserialize JSON content encoded in UTF-8 from a byte array into a value of given `A` type.
189189
*
190-
* While it is less efficient than parsing from a byte array using pooled readers but it can be safely used
190+
* While it is less efficient than parsing from a byte array using pooled readers, but it can be safely used
191191
* when a non-reentrant call is used in the same thread stack.
192192
*
193193
* @tparam A type of the value to parse
@@ -237,7 +237,7 @@ package object core {
237237
/**
238238
* Deserialize JSON content encoded in UTF-8 from a byte array into a value of given `A` type.
239239
*
240-
* While it is less efficient than parsing from a sub array using pooled readers but it can be safely used
240+
* While it is less efficient than parsing from a sub array using pooled readers, but it can be safely used
241241
* when a non-reentrant call is used in the same thread stack.
242242
*
243243
* @tparam A type of the value to parse
@@ -295,7 +295,7 @@ package object core {
295295
* value will be parsed before reaching of the limit. In any case the buffer position will be set to the next
296296
* position after the last read byte.
297297
*
298-
* While it is less efficient than parsing from a byte buffer using pooled readers but it can be safely used
298+
* While it is less efficient than parsing from a byte buffer using pooled readers, but it can be safely used
299299
* when a non-reentrant call is used in the same thread stack.
300300
*
301301
* @tparam A type of the value to parse
@@ -336,7 +336,7 @@ package object core {
336336
/**
337337
* Deserialize JSON content from a string into a value of given `A` type.
338338
*
339-
* While it is less efficient than parsing from a string using pooled readers but it can be safely used
339+
* While it is less efficient than parsing from a string using pooled readers, but it can be safely used
340340
* when a non-reentrant call is used in the same thread stack.
341341
*
342342
* @tparam A type of the value to parse
@@ -382,7 +382,7 @@ package object core {
382382
/**
383383
* Serialize the `x` argument to the provided output stream in UTF-8 encoding of JSON format.
384384
*
385-
* While it is less efficient than serialization to an output stream using pooled writers but it can be safely used
385+
* While it is less efficient than serialization to an output stream using pooled writers, but it can be safely used
386386
* when a non-reentrant call is used in the same thread stack.
387387
*
388388
* @tparam A type of value to serialize
@@ -427,7 +427,7 @@ package object core {
427427
/**
428428
* Serialize the `x` argument to a new allocated instance of byte array in UTF-8 encoding of JSON format.
429429
*
430-
* While it is less efficient than serialization to a byte array using pooled writers but it can be safely used
430+
* While it is less efficient than serialization to a byte array using pooled writers, but it can be safely used
431431
* when a non-reentrant call is used in the same thread stack.
432432
*
433433
* @tparam A type of value to serialize
@@ -477,7 +477,7 @@ package object core {
477477
/**
478478
* Serialize the `x` argument to the given instance of byte array in UTF-8 encoding of JSON format.
479479
*
480-
* While it is less efficient than serialization to a sub array using pooled writers but it can be safely used
480+
* While it is less efficient than serialization to a sub array using pooled writers, but it can be safely used
481481
* when a non-reentrant call is used in the same thread stack.
482482
*
483483
* @tparam A type of value to serialize
@@ -508,7 +508,7 @@ package object core {
508508
* Serialize the `x` argument to the given instance of byte buffer in UTF-8 encoding of JSON format.
509509
*
510510
* Serialization will start from the current position up to the provided byte buffer limit.
511-
* On return the byte buffer will has position set to the next position after the last written byte.
511+
* On return the byte buffer will have position set to the next position after the last written byte.
512512
*
513513
* BEWARE: It is a non-reentrant routine and should not be used in a nested way in the same thread.
514514
*
@@ -537,9 +537,9 @@ package object core {
537537
* Serialize the `x` argument to the given instance of byte buffer in UTF-8 encoding of JSON format.
538538
*
539539
* Serialization will start from the current position up to the provided byte buffer limit.
540-
* On return the byte buffer will has position set to the next position after the last written byte.
540+
* On return the byte buffer will have position set to the next position after the last written byte.
541541
*
542-
* While it is less efficient than serialization to a byte buffer pooled writers but it can be safely used
542+
* While it is less efficient than serialization to a byte buffer pooled writers, but it can be safely used
543543
* when a non-reentrant call is used in the same thread stack.
544544
*
545545
* @tparam A type of value to serialize
@@ -584,7 +584,7 @@ package object core {
584584
/**
585585
* Serialize the `x` argument to a string in JSON format.
586586
*
587-
* While it is less efficient than serialization to a string using pooled writers but it can be safely used
587+
* While it is less efficient than serialization to a string using pooled writers, but it can be safely used
588588
* when a non-reentrant call is used in the same thread stack.
589589
*
590590
* @tparam A type of value to serialize

jsoniter-scala-core/jvm/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/package.scala

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ package object core {
3838
/**
3939
* Deserialize JSON content encoded in UTF-8 from an input stream into a value of given `A` type.
4040
*
41-
* While it is less efficient than scanning JSON values from an input stream using pooled readers but it can be
41+
* While it is less efficient than scanning JSON values from an input stream using pooled readers, but it can be
4242
* safely used when a non-reentrant call is used in the same thread stack.
4343
*
4444
* @tparam A type of the value to parse
@@ -90,7 +90,7 @@ package object core {
9090
*
9191
* All parsed values will be passed to consuming function `f`.
9292
*
93-
* While it is less efficient than scanning JSON values from an input stream using pooled readers but it can be
93+
* While it is less efficient than scanning JSON values from an input stream using pooled readers, but it can be
9494
* safely used when a non-reentrant call is used in the same thread stack.
9595
*
9696
* @tparam A type of the value to parse
@@ -142,7 +142,7 @@ package object core {
142142
*
143143
* All parsed values will be passed to consuming function `f`.
144144
*
145-
* While it is less efficient than scanning JSON array from an input stream using pooled readers but it can be
145+
* While it is less efficient than scanning JSON array from an input stream using pooled readers, but it can be
146146
* safely used when a non-reentrant call is used in the same thread stack.
147147
*
148148
* @tparam A type of the value to parse
@@ -185,7 +185,7 @@ package object core {
185185
/**
186186
* Deserialize JSON content encoded in UTF-8 from a byte array into a value of given `A` type.
187187
*
188-
* While it is less efficient than parsing from a byte array using pooled readers but it can be safely used
188+
* While it is less efficient than parsing from a byte array using pooled readers, but it can be safely used
189189
* when a non-reentrant call is used in the same thread stack.
190190
*
191191
* @tparam A type of the value to parse
@@ -232,7 +232,7 @@ package object core {
232232
/**
233233
* Deserialize JSON content encoded in UTF-8 from a byte array into a value of given `A` type.
234234
*
235-
* While it is less efficient than parsing from a sub array using pooled readers but it can be safely used
235+
* While it is less efficient than parsing from a sub array using pooled readers, but it can be safely used
236236
* when a non-reentrant call is used in the same thread stack.
237237
*
238238
* @tparam A type of the value to parse
@@ -287,7 +287,7 @@ package object core {
287287
* value will be parsed before reaching of the limit. In any case the buffer position will be set to the next
288288
* position after the last read byte.
289289
*
290-
* While it is less efficient than parsing from a byte buffer using pooled readers but it can be safely used
290+
* While it is less efficient than parsing from a byte buffer using pooled readers, but it can be safely used
291291
* when a non-reentrant call is used in the same thread stack.
292292
*
293293
* @tparam A type of the value to parse
@@ -324,7 +324,7 @@ package object core {
324324
/**
325325
* Deserialize JSON content from a string into a value of given `A` type.
326326
*
327-
* While it is less efficient than parsing from a string using pooled readers but it can be safely used
327+
* While it is less efficient than parsing from a string using pooled readers, but it can be safely used
328328
* when a non-reentrant call is used in the same thread stack.
329329
*
330330
* @tparam A type of the value to parse
@@ -370,7 +370,7 @@ package object core {
370370
/**
371371
* Serialize the `x` argument to the provided output stream in UTF-8 encoding of JSON format.
372372
*
373-
* While it is less efficient than serialization to an output stream using pooled writers but it can be safely used
373+
* While it is less efficient than serialization to an output stream using pooled writers, but it can be safely used
374374
* when a non-reentrant call is used in the same thread stack.
375375
*
376376
* @tparam A type of value to serialize
@@ -413,7 +413,7 @@ package object core {
413413
/**
414414
* Serialize the `x` argument to a new allocated instance of byte array in UTF-8 encoding of JSON format.
415415
*
416-
* While it is less efficient than serialization to a byte array using pooled writers but it can be safely used
416+
* While it is less efficient than serialization to a byte array using pooled writers, but it can be safely used
417417
* when a non-reentrant call is used in the same thread stack.
418418
*
419419
* @tparam A type of value to serialize
@@ -460,7 +460,7 @@ package object core {
460460
/**
461461
* Serialize the `x` argument to the given instance of byte array in UTF-8 encoding of JSON format.
462462
*
463-
* While it is less efficient than serialization to a sub array using pooled writers but it can be safely used
463+
* While it is less efficient than serialization to a sub array using pooled writers, but it can be safely used
464464
* when a non-reentrant call is used in the same thread stack.
465465
*
466466
* @tparam A type of value to serialize
@@ -490,7 +490,7 @@ package object core {
490490
* Serialize the `x` argument to the given instance of byte buffer in UTF-8 encoding of JSON format.
491491
*
492492
* Serialization will start from the current position up to the provided byte buffer limit.
493-
* On return the byte buffer will has position set to the next position after the last written byte.
493+
* On return the byte buffer will have position set to the next position after the last written byte.
494494
*
495495
* BEWARE: It is a non-reentrant routine and should not be used in a nested way in the same thread.
496496
*
@@ -517,9 +517,9 @@ package object core {
517517
* Serialize the `x` argument to the given instance of byte buffer in UTF-8 encoding of JSON format.
518518
*
519519
* Serialization will start from the current position up to the provided byte buffer limit.
520-
* On return the byte buffer will has position set to the next position after the last written byte.
520+
* On return the byte buffer will have position set to the next position after the last written byte.
521521
*
522-
* While it is less efficient than serialization to a byte buffer pooled writers but it can be safely used
522+
* While it is less efficient than serialization to a byte buffer pooled writers, but it can be safely used
523523
* when a non-reentrant call is used in the same thread stack.
524524
*
525525
* @tparam A type of value to serialize
@@ -560,7 +560,7 @@ package object core {
560560
/**
561561
* Serialize the `x` argument to a string in JSON format.
562562
*
563-
* While it is less efficient than serialization to a string using pooled writers but it can be safely used
563+
* While it is less efficient than serialization to a string using pooled writers, but it can be safely used
564564
* when a non-reentrant call is used in the same thread stack.
565565
*
566566
* @tparam A type of value to serialize

0 commit comments

Comments
 (0)