Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

Not work on simple example #27

@semmaxim

Description

@semmaxim

Result of this code is empty.

import com.lambdaworks.jacks.JacksMapper

class First (val num: Int, val str: String) {}
class Second (val firstClass: First, val num: Int, val str: String) {}
class Third (val firstClass: First, val secondClass: Second, val num: Int, val str: String) {}

object Program extends App{
    val first = new First(1, "first")
    val second = new Second(first, 11, "second")
    val third = new Third(first, second, 111, "third")

    println(JacksMapper.writeValueAsString(third))
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions