mirror of
https://github.com/fluencelabs/aqua.git
synced 2025-04-25 06:52:13 +00:00
fix: long strings JSON parsing (#672)
This commit is contained in:
parent
3635a0bbaa
commit
ee0b9673ef
@ -45,7 +45,7 @@ object FileOpts {
|
|||||||
Files[F]
|
Files[F]
|
||||||
.readAll(p)
|
.readAll(p)
|
||||||
.through(fs2.text.utf8.decode)
|
.through(fs2.text.utf8.decode)
|
||||||
.fold(List.empty[String]) { case (acc, str) => str :: acc }
|
.fold(List.empty[String]) { case (acc, str) => acc :+ str }
|
||||||
.map(_.mkString(""))
|
.map(_.mkString(""))
|
||||||
.map(str => transform(p, str).map(r => (p, r)))
|
.map(str => transform(p, str).map(r => (p, r)))
|
||||||
.compile
|
.compile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user