JsonSerializeAsProduct
io.shiftleft.semanticcpg.language.Steps.JsonSerializeAsProduct
trait JsonSerializeAsProduct extends Product
Marker trait that allows us to selectively serialize types using the accessors from Product: productElement, productElementName etc. We do not want to define a serializer format for all Products, because that would include many stdlib classes like List, for which have better suited formats exist already. See StepsTest.scala for more details and examples.
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalsclass Objecttrait Matchableclass Any
- Known subtypes
-
class LazyLocation
Members list
In this article